Add modules arguments - test with binarization

This commit is contained in:
2015-03-22 04:27:57 +00:00
parent 013a5a967c
commit 2072efd2d7
11 changed files with 79 additions and 10 deletions
+3 -1
View File
@@ -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 )
{