Bugfix when showing the module result in a new window

This commit is contained in:
jfmcarreira committed 2014-05-17 18:18:48 +01:00
1 parent 5f50f60a33
commit 1099d4bb9d
3 files changed
+12 -6

No files matched your search

+3 -2
View File
@@ -143,14 +143,15 @@ Void SubWindowHandle::setCurrFrame( PlaYUVerFrame* pcCurrFrame )
Void SubWindowHandle::refreshFrame()
{
Bool bSetFrame = true;
if( m_pCurrStream )
{
m_pcCurrFrame = m_pCurrStream->getCurrFrame();
if( m_pcCurrentModule )
{
ModulesHandle::applyModuleIf( m_pcCurrentModule );
bSetFrame = ModulesHandle::applyModuleIf( m_pcCurrentModule );
}
else
if( bSetFrame )
{
m_cViewArea->setImage( m_pcCurrFrame );
}