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:
2021-05-29 03:14:15 +01:00
parent 48907ef614
commit cea720f8e9
6 changed files with 31 additions and 38 deletions
+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 );
}
}