[vlc-devel] commit: Don't release vout if it ain't present (eg. when audio is playing and (Ilkka Ollakka )

git version control git at videolan.org
Fri Jun 27 13:28:19 CEST 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Jun 27 14:29:41 2008 +0300| [9ad990ac8df8a3a29ef20f9771d59633789c3146]

Don't release vout if it ain't present (eg. when audio is playing and
background image is only visible).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9ad990ac8df8a3a29ef20f9771d59633789c3146
---

 modules/gui/qt4/menus.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 63f9bea..9a724c6 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -801,9 +801,9 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
                             qtr( "Leave Fullscreen" ),"" , ITEM_NORMAL,
                             p_vout->i_object_id, val, VLC_VAR_BOOL,
                             b_isFullscreen );
+                vlc_object_release( p_vout );
             }
 
-            vlc_object_release( p_vout );
             menu->addSeparator();
 
             vlc_object_yield( p_input );




More information about the vlc-devel mailing list