Fix problem with frame swapping in modules
This commit is contained in:
@@ -598,6 +598,7 @@ void ModulesHandle::swapModulesWindowsIf( CalypAppModuleIf* pcCurrModuleIf )
|
||||
VideoSubWindow* auxWindowHandle = pcCurrModuleIf->m_pcSubWindow[0];
|
||||
pcCurrModuleIf->m_pcSubWindow[0] = pcCurrModuleIf->m_pcSubWindow[1];
|
||||
pcCurrModuleIf->m_pcSubWindow[1] = auxWindowHandle;
|
||||
pcCurrModuleIf->m_pcDisplaySubWindow->updateVideoWindowInfo();
|
||||
pcCurrModuleIf->apply();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,6 +110,8 @@ public:
|
||||
VideoSubWindow( enum VideoSubWindowCategories category, QWidget* parent = 0 );
|
||||
~VideoSubWindow();
|
||||
|
||||
void updateVideoWindowInfo();
|
||||
|
||||
bool loadFile( QString cFilename, bool bForceDialog = false );
|
||||
bool loadFile( CalypFileInfo* streamInfo );
|
||||
void loadAll();
|
||||
@@ -200,7 +202,6 @@ private:
|
||||
* zoom to fit
|
||||
*/
|
||||
void scaleView( const QSize& size, QPoint center = QPoint() );
|
||||
void updateVideoWindowInfo();
|
||||
|
||||
QSize getScrollSize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user