Fix null pointer to the current video sub window

This commit is contained in:
jfmcarreira committed 2015-01-03 17:49:28 +00:00
1 parent 5d0bd6b434
commit 3d24a5a0ae
1 file changed
-1
-1
View File
@@ -456,7 +456,6 @@ Void plaYUVerApp::update()
SubWindowHandle *new_window = activeSubWindow();
if( activeSubWindow() != m_pcCurrentSubWindow )
{
m_pcCurrentVideoSubWindow = NULL;
if( activeSubWindow() )
{
m_pcCurrentSubWindow = new_window;