Commit 14bde4f9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

rc control interface fix for correct reporting of playlist state when toggling pause.

parent 2bb4d93d
......@@ -1065,9 +1065,8 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
/* Parse commands that only require an input */
if( !strcmp( psz_cmd, "pause" ) )
val.i_int = PAUSE_S;
var_Set( p_input, "state", val );
val.i_int = config_GetInt( p_intf, "key-play-pause" );
var_Set( p_intf->p_vlc, "key-pressed", val );
vlc_object_release( p_input );
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