[vlc-commits] commit: Revert "Qt4: --embedded-video must be checked on the window object (not the UI)" ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Mar 6 17:29:20 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar  6 18:29:06 2010 +0200| [2551fbcbfcfb60e2715bb7ba388a9d84f4ce4383] | committer: Rémi Denis-Courmont 

Revert "Qt4: --embedded-video must be checked on the window object (not the UI)"

This reverts commit 4c40aec495ef7062523e092c8ef5d9bfffde063a.

We already check is_standalone.

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

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

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 4fde7ed..256557e 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -542,8 +542,6 @@ 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;
     if( var_Inherit( p_obj, "qt4-iface", VLC_VAR_ADDRESS, &val ) )



More information about the vlc-commits mailing list