diff --git a/app/PlaYUVerAppModuleIf.cpp b/app/PlaYUVerAppModuleIf.cpp index e71b17d..e1ff8f0 100644 --- a/app/PlaYUVerAppModuleIf.cpp +++ b/app/PlaYUVerAppModuleIf.cpp @@ -51,7 +51,7 @@ Void PlaYUVerAppModuleIf::update() { if( m_pcDisplaySubWindow ) { - m_pcDisplaySubWindow->refreshFrame(); + m_pcDisplaySubWindow->refreshFrame( true ); } } diff --git a/app/PlaYUVerAppModuleIf.h b/app/PlaYUVerAppModuleIf.h index 3bfb424..817055b 100644 --- a/app/PlaYUVerAppModuleIf.h +++ b/app/PlaYUVerAppModuleIf.h @@ -40,7 +40,7 @@ class QAction; namespace plaYUVer { -#define PLAYUVER_THREADED_MODULES +//#define PLAYUVER_THREADED_MODULES class VideoSubWindow; diff --git a/app/VideoSubWindow.cpp b/app/VideoSubWindow.cpp index 7e05ec1..ed1ba94 100644 --- a/app/VideoSubWindow.cpp +++ b/app/VideoSubWindow.cpp @@ -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