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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user