Add a menu to select reference for all windows

This commit is contained in:
jfmcarreira committed 2014-12-16 02:06:14 +00:00
1 parent fc54d02527
commit b19dc41857
4 files changed
+6 -8

No files matched your search

+4 -1
View File
@@ -142,7 +142,10 @@ public:
Void setRefSubWindow( VideoSubWindow* subWindow )
{
m_pcReferenceSubWindow = subWindow;
m_pcReferenceSubWindow = NULL;
if( subWindow )
if( m_pcCurrFrame->haveSameFmt( subWindow->getCurrFrame() ) )
m_pcReferenceSubWindow = subWindow;
}
VideoSubWindow* getRefSubWindow()
{