Change ProgramOptions functions to classes and create a new parser from string arrays

This commit is contained in:
2015-03-24 17:50:23 +00:00
parent 53d5ae4139
commit fb36f82bc1
7 changed files with 247 additions and 311 deletions
+1 -2
View File
@@ -180,8 +180,7 @@ 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 );
m_pcCurrModuleIf->m_cModuleOptions.scanArgv( argc, ( const Char** )argv );
if( m_pcCurrModuleIf->m_iModuleType == FRAME_PROCESSING_MODULE )
{