Improve Stream class to be binary compatible

Add "*" to pixel format when it is not native in App
This commit is contained in:
jfmcarreira committed 2018-02-03 03:01:21 +00:00
1 parent 5b91c91b90
commit ee24e5a7d3
9 files changed
+165 -202

No files matched your search

+2 -20
View File
@@ -69,18 +69,12 @@ class PlaYUVerOptions
public:
struct Option
{
Option()
: opt( 0 ) {}
~Option()
{
if( opt )
delete opt;
}
Option();
~Option();
std::list<String> opt_long;
std::list<String> opt_short;
OptionBase* opt;
};
typedef std::list<Option*> OptionsList;
PlaYUVerOptions( const String& name = "" );
@@ -119,19 +113,7 @@ public:
template <typename T>
PlaYUVerOptions& operator()( const String& name, T& storage, const String& desc );
/**
* Add option described by name to the parent Options list,
* with desc as an optional help description
* instead of storing the value somewhere, a function of type
* OptionFunc::Func is called. It is upto this function to correctly
* handle evaluating the option's value.
*/
// PlaYUVerOptions&
// operator()( const String& name, OptionFunc::Func *func, const String&
// desc );
Bool checkListingOpts();
//Void listModules();
private:
typedef std::map<String, OptionsList> OptionMap;