Commit b8118777 authored by Yoann Peronneau's avatar Yoann Peronneau

* try to fix the pause-only hotkey

  this needs to be tested
parent 5ea9b67e
...@@ -379,11 +379,15 @@ static void Run( intf_thread_t *p_intf ) ...@@ -379,11 +379,15 @@ static void Run( intf_thread_t *p_intf )
if( i_action == ACTIONID_PAUSE ) if( i_action == ACTIONID_PAUSE )
{ {
ClearChannels( p_intf, p_vout ); var_Get( p_input, "state", &val );
vout_OSDIcon( VLC_OBJECT( p_intf ), DEFAULT_CHAN, if( val.i_int != PAUSE_S )
OSD_PAUSE_ICON ); {
val.i_int = PAUSE_S; ClearChannels( p_intf, p_vout );
var_Set( p_input, "state", val ); vout_OSDIcon( VLC_OBJECT( p_intf ), DEFAULT_CHAN,
OSD_PAUSE_ICON );
val.i_int = PAUSE_S;
var_Set( p_input, "state", val );
}
} }
else if( i_action == ACTIONID_JUMP_BACKWARD_EXTRASHORT else if( i_action == ACTIONID_JUMP_BACKWARD_EXTRASHORT
&& b_seekable ) && b_seekable )
......
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