Change PlaYUVerAppModuleIf functions

apply and show are part of PlaYUVerAppModuleIf class
This commit is contained in:
2015-11-07 17:37:29 +00:00
parent aae4b307fa
commit e9d8d117ea
5 changed files with 73 additions and 71 deletions
+2 -6
View File
@@ -618,18 +618,14 @@ Void VideoSubWindow::refreshFrameOperation()
if( m_pcCurrentDisplayModule )
{
m_bWindowBusy = true;
ModulesHandle::applyModuleIf( m_pcCurrentDisplayModule, m_bIsPlaying, !m_bIsPlaying && m_apcCurrentModule.size() );
m_pcCurrentDisplayModule->apply( m_bIsPlaying, !m_bIsPlaying && m_apcCurrentModule.size() );
bSetFrame = false;
}
if( bSetFrame )
{
m_cViewArea->setImage( m_pcCurrFrame );
}
for( Int i = 0; i < m_apcCurrentModule.size() && !m_bIsPlaying; i++ )
{
m_bWindowBusy = true;
ModulesHandle::applyModuleIf( m_apcCurrentModule.at( i ), m_bIsPlaying );
}
ModulesHandle::applyModuleIf( m_apcCurrentModule, m_bIsPlaying );
}
Void VideoSubWindow::refreshFrame( Bool bThreaded )