Minor bug fix in threads
This commit is contained in:
@@ -51,7 +51,7 @@ Void PlaYUVerAppModuleIf::update()
|
||||
{
|
||||
if( m_pcDisplaySubWindow )
|
||||
{
|
||||
m_pcDisplaySubWindow->refreshFrame();
|
||||
m_pcDisplaySubWindow->refreshFrame( true );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ class QAction;
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
#define PLAYUVER_THREADED_MODULES
|
||||
//#define PLAYUVER_THREADED_MODULES
|
||||
|
||||
class VideoSubWindow;
|
||||
|
||||
|
||||
@@ -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