[vlc-commits] qt4: update wall-paper mode toggling
Rémi Denis-Courmont
git at videolan.org
Sun Jan 5 11:19:00 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 5 12:16:30 2014 +0200| [b424f7cae33d992150a0e3c58d046de4e29b485e] | committer: Rémi Denis-Courmont
qt4: update wall-paper mode toggling
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b424f7cae33d992150a0e3c58d046de4e29b485e
---
modules/gui/qt4/menus.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 8150bfa..be7c878 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -239,7 +239,7 @@ static int VideoAutoMenuBuilder( playlist_t *pl, input_thread_t *p_input,
PUSH_INPUTVAR( "video-es" );
PUSH_PLVAR( "fullscreen" );
PUSH_PLVAR( "video-on-top" );
- PUSH_VAR( "video-wallpaper" );
+ PUSH_PLVAR( "video-wallpaper" );
PUSH_VAR( "video-snapshot" );
PUSH_VAR( "zoom" );
PUSH_VAR( "autoscale" );
@@ -1531,7 +1531,8 @@ void VLCMenuBar::DoAction( QObject *data )
var_Set( p_object, var, val );
if( !strcmp( var, "fullscreen" )
- || !strcmp( var, "video-on-top" ) ) /* FIXME: reverse abstraction */
+ || !strcmp( var, "video-on-top" )
+ || !strcmp( var, "video-wallpaper" ) ) /* FIXME: reverse abstraction */
{ /* Apply playlist variables to current existing vout too */
input_thread_t *input = playlist_CurrentInput((playlist_t *)p_object);
if( input != NULL )
More information about the vlc-commits
mailing list