[vlc-commits] commit: Qt4: --embedded-video must be checked on the window object ( not the UI) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Mar 3 17:53:55 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 3 18:53:21 2010 +0200| [4c40aec495ef7062523e092c8ef5d9bfffde063a] | committer: Rémi Denis-Courmont
Qt4: --embedded-video must be checked on the window object (not the UI)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c40aec495ef7062523e092c8ef5d9bfffde063a
---
modules/gui/qt4/qt4.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 586c8d1..26d2e03 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -543,6 +543,8 @@ static int WindowOpen( vlc_object_t *p_obj )
if( var_InheritBool( p_obj, "video-wallpaper" ) )
return VLC_EGENERIC;
#endif
+ if( !var_InheritBool( p_obj, "embedded-video" ) )
+ return VLC_EGENERIC;
vlc_value_t val;
More information about the vlc-commits
mailing list