Minor bug fix in threads
This commit is contained in:
1 parent
f596fda8dc
commit
122e8ec990
3 files changed
+4
-4
No files matched your search
@@ -621,7 +621,7 @@ Void VideoSubWindow::refreshFrameOperation()
|
||||
{
|
||||
m_cViewArea->setImage( m_pcCurrFrame );
|
||||
}
|
||||
for( Int i = 0; i < m_apcCurrentModule.size() && !m_bIsPlaying; i++ )
|
||||
for( Int i = 0; i < m_apcCurrentModule.size() /*&& !m_bIsPlaying*/; i++ )
|
||||
{
|
||||
m_apcCurrentModule.at( i )->update();
|
||||
}
|
||||
@@ -686,7 +686,7 @@ Bool VideoSubWindow::playEvent()
|
||||
bEndOfSeq = m_pCurrStream->setNextFrame();
|
||||
if( !bEndOfSeq )
|
||||
{
|
||||
refreshFrame();
|
||||
refreshFrame( true );
|
||||
#ifndef QT_NO_CONCURRENT
|
||||
m_cReadResult = QtConcurrent::run( m_pCurrStream, &PlaYUVerStream::readFrameFillRGBBuffer );
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user