Support for variable number of inputs
This commit is contained in:
1 parent
2adfd28e48
commit
b36bbeef7a
2 files changed
+15
-2
No files matched your search
@@ -324,7 +324,8 @@ int CalypTools::Open( int argc, char* argv[] )
|
||||
return -1;
|
||||
}
|
||||
|
||||
if( m_apcInputStreams.size() != m_pcCurrModuleIf->m_uiNumberOfFrames )
|
||||
if( !(m_pcCurrModuleIf->m_uiModuleRequirements & CLP_MODULES_VARIABLE_NUM_FRAMES) &&
|
||||
m_apcInputStreams.size() != m_pcCurrModuleIf->m_uiNumberOfFrames )
|
||||
{
|
||||
log( CLP_LOG_ERROR, "Invalid number of inputs! " );
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user