Improve the use of separate threads for each module

FramePropertiesDock now copies an instance of the CalypFrame that
is always kept valid until updated
This commit is contained in:
jfmcarreira committed 2021-05-29 03:13:49 +01:00
1 parent e77e0a82fa
commit 47dd2ad3f9
6 files changed
+31 -38

No files matched your search

+2 -1
View File
@@ -703,6 +703,7 @@ bool VideoSubWindow::hasRunningModule()
void VideoSubWindow::setFillWindow( bool bFlag )
{
m_pcVideoInfo->setBusyWindow( bFlag );
m_pcVideoInfo->repaint();
}
void VideoSubWindow::setCurrFrame( CalypFrame* pcCurrFrame )
@@ -731,7 +732,7 @@ void VideoSubWindow::refreshFrameOperation()
}
for( int i = 0; i < m_apcCurrentModule.size(); i++ )
{
m_apcCurrentModule.at( i )->update();
m_apcCurrentModule.at( i )->update( m_bIsPlaying );
}
}