Add new functions to stream modules
This commit is contained in:
@@ -369,7 +369,8 @@ void ModulesHandle::activateModule()
|
||||
}
|
||||
}
|
||||
|
||||
bool bRequiresWindow = ( pcCurrAppModuleIf->m_pcModule->m_uiModuleRequirements & CLP_MODULE_REQUIRES_NEW_WINDOW ) ||
|
||||
bool bRequiresWindow = ( pcCurrAppModuleIf->m_pcModule->m_iModuleType == CLP_STREAM_PROCESSING_MODULE ) ||
|
||||
( pcCurrAppModuleIf->m_pcModule->m_uiModuleRequirements & CLP_MODULE_REQUIRES_NEW_WINDOW ) ||
|
||||
m_arrayActions[FORCE_NEW_WINDOW_ACT]->isChecked() ||
|
||||
bTmpForceNewWindow;
|
||||
|
||||
@@ -422,6 +423,11 @@ void ModulesHandle::activateModule()
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<CalypStream*> apcStreamList;
|
||||
for( int i = 0; i < videoSubWindowList.size(); i++ )
|
||||
{
|
||||
apcStreamList.push_back( pcCurrAppModuleIf->m_pcSubWindow[i]->getCurrStream() );
|
||||
}
|
||||
std::vector<CalypFrame*> apcFrameList;
|
||||
for( int i = 0; i < videoSubWindowList.size(); i++ )
|
||||
{
|
||||
@@ -432,6 +438,7 @@ void ModulesHandle::activateModule()
|
||||
bool moduleCreated = false;
|
||||
if( pcCurrAppModuleIf->m_pcModule->m_iModuleType == CLP_STREAM_PROCESSING_MODULE )
|
||||
{
|
||||
moduleCreated = pcCurrAppModuleIf->m_pcModule->create( apcStreamList );
|
||||
}
|
||||
else if( pcCurrAppModuleIf->m_pcModule->m_iModuleAPI == CLP_MODULE_API_2 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user