Add modules arguments - test with binarization
This commit is contained in:
@@ -180,13 +180,15 @@ Int PlaYUVerTools::Open( Int argc, Char *argv[] )
|
||||
|
||||
m_pcCurrModuleIf->create( m_apcInputStreams[0]->getCurrFrame() );
|
||||
|
||||
m_pcCurrModuleIf->m_cModuleOptions.allow_unknow = true;
|
||||
scanArgv( m_pcCurrModuleIf->m_cModuleOptions, argc, ( const Char** )argv );
|
||||
|
||||
if( m_pcCurrModuleIf->m_iModuleType == FRAME_PROCESSING_MODULE )
|
||||
{
|
||||
// Check outputs
|
||||
std::vector<std::string> outputFileNames;
|
||||
if( m_cCmdLineHandler.Opts()["output"]->count() )
|
||||
outputFileNames.push_back( m_cCmdLineHandler.m_strOutput );
|
||||
;
|
||||
|
||||
if( outputFileNames.size() == 1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user