qt4 fullscreen: releases the vout
authorRafaël Carré <funman@videolan.org>
Sat, 8 Sep 2007 21:17:35 +0000 (21:17 +0000)
committerRafaël Carré <funman@videolan.org>
Sat, 8 Sep 2007 21:17:35 +0000 (21:17 +0000)
modules/gui/qt4/components/interface_widgets.cpp

index 8d5b96d..de481e4 100644 (file)
@@ -610,6 +610,7 @@ void ControlsWidget::fullscreen()
     if( p_vout)
     {
         var_SetBool( p_vout, "fullscreen", !var_GetBool( p_vout, "fullscreen" ) );
+        vlc_object_release( p_vout );
     }
 }