Add support to signall if the format supports user configuration

This commit is contained in:
jfmcarreira committed 2021-10-10 22:25:32 +01:00
1 parent b7ad00a4c5
commit 3b31453221
5 files changed
+18 -9

No files matched your search

+2 -2
View File
@@ -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
View File
@@ -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;
+1
View File
@@ -27,6 +27,7 @@
#include <vector>
#include "CalypDefs.h"
#include "CalypStream.h"
#define INI_REGIST_CALYP_SUPPORTED_FMT \