]> git.sesse.net Git - vlc/commitdiff
skins2: add support for --[no]-embedded-video parameter
authorErwan Tulou <erwan10@videolan.org>
Tue, 2 Feb 2010 10:43:39 +0000 (11:43 +0100)
committerErwan Tulou <erwan10@videolan.org>
Tue, 2 Feb 2010 10:49:08 +0000 (11:49 +0100)
modules/gui/skins2/src/skin_main.cpp

index 2a077f7cfba7392321b5fdaca3bab3c80c8ea183..f3c8ed3e6956a10e99457078dee2b7de4729d7f2 100644 (file)
@@ -348,7 +348,8 @@ static int WindowOpen( vlc_object_t *p_this )
     if( pIntf == NULL )
         return VLC_EGENERIC;
 
-    if( !config_GetInt( pIntf, "skinned-video") )
+    if( !config_GetInt( pIntf, "skinned-video") ||
+        pWnd->cfg->is_standalone )
     {
         vlc_object_release( pIntf );
         return VLC_EGENERIC;