Update window instead of applying module

This commit is contained in:
jfmcarreira committed 2015-11-07 18:15:27 +00:00
1 parent e9d8d117ea
commit eb4adb1557
4 files changed
+17 -7

No files matched your search

+7 -6
View File
@@ -598,13 +598,11 @@ Void VideoSubWindow::setFillWindow( Bool bFlag )
{
m_pcVideoInfo->setBusyWindow( bFlag );
}
Void VideoSubWindow::setCurrFrame( PlaYUVerFrame* pcCurrFrame )
{
// if( m_pcCurrFrame )
{
m_pcCurrFrame = pcCurrFrame;
m_cViewArea->setImage( m_pcCurrFrame );
}
m_pcCurrFrame = pcCurrFrame;
m_cViewArea->setImage( m_pcCurrFrame );
}
Void VideoSubWindow::refreshFrameOperation()
@@ -625,7 +623,10 @@ Void VideoSubWindow::refreshFrameOperation()
{
m_cViewArea->setImage( m_pcCurrFrame );
}
ModulesHandle::applyModuleIf( m_apcCurrentModule, m_bIsPlaying );
for( Int i = 0; i < m_apcCurrentModule.size() && !m_bIsPlaying; i++ )
{
m_apcCurrentModule.at( i )->update();
}
}
Void VideoSubWindow::refreshFrame( Bool bThreaded )