Commit ecbfb0f2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

qt4: update wall-paper mode toggling

parent 5a495257
...@@ -239,7 +239,7 @@ static int VideoAutoMenuBuilder( playlist_t *pl, input_thread_t *p_input, ...@@ -239,7 +239,7 @@ static int VideoAutoMenuBuilder( playlist_t *pl, input_thread_t *p_input,
PUSH_INPUTVAR( "video-es" ); PUSH_INPUTVAR( "video-es" );
PUSH_PLVAR( "fullscreen" ); PUSH_PLVAR( "fullscreen" );
PUSH_PLVAR( "video-on-top" ); PUSH_PLVAR( "video-on-top" );
PUSH_VAR( "video-wallpaper" ); PUSH_PLVAR( "video-wallpaper" );
PUSH_VAR( "video-snapshot" ); PUSH_VAR( "video-snapshot" );
PUSH_VAR( "zoom" ); PUSH_VAR( "zoom" );
PUSH_VAR( "autoscale" ); PUSH_VAR( "autoscale" );
...@@ -1531,7 +1531,8 @@ void VLCMenuBar::DoAction( QObject *data ) ...@@ -1531,7 +1531,8 @@ void VLCMenuBar::DoAction( QObject *data )
var_Set( p_object, var, val ); var_Set( p_object, var, val );
if( !strcmp( var, "fullscreen" ) 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 */ { /* Apply playlist variables to current existing vout too */
input_thread_t *input = playlist_CurrentInput((playlist_t *)p_object); input_thread_t *input = playlist_CurrentInput((playlist_t *)p_object);
if( input != NULL ) if( input != NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment