Add support to signall if the format supports user configuration
This commit is contained in:
5 files changed
+18
-9
No files matched your search
+2
-2
@@ -396,9 +396,9 @@ bool CalypStream::open( std::string filename, unsigned int width, unsigned int h
|
||||
return d->isInit;
|
||||
}
|
||||
|
||||
bool CalypStream::supportsFormating()
|
||||
bool CalypStream::supportsFormatConfiguration()
|
||||
{
|
||||
if( d->handler != nullptr )
|
||||
if( d->handler == nullptr )
|
||||
return false;
|
||||
return d->handler->m_bSupportsFormat;
|
||||
}
|
||||
|
||||
+1
-2
@@ -29,7 +29,6 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "CalypDefs.h"
|
||||
#include "CalypFrame.h"
|
||||
|
||||
class CalypStreamHandlerIf;
|
||||
@@ -90,7 +89,7 @@ public:
|
||||
bool open( std::string filename, unsigned int width, unsigned int height, int input_format, unsigned int bitsPel, int endianness, bool hasNegative, unsigned int frame_rate,
|
||||
bool bInput );
|
||||
|
||||
bool supportsFormating();
|
||||
bool supportsFormatConfiguration();
|
||||
bool reload();
|
||||
|
||||
bool isNative() const;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "CalypDefs.h"
|
||||
#include "CalypStream.h"
|
||||
|
||||
#define INI_REGIST_CALYP_SUPPORTED_FMT \
|
||||
|
||||
Reference in new issue
Block a user