Commit b8118777 authored by Yoann Peronneau's avatar Yoann Peronneau

* try to fix the pause-only hotkey

  this needs to be tested
parent 5ea9b67e
...@@ -378,6 +378,9 @@ static void Run( intf_thread_t *p_intf ) ...@@ -378,6 +378,9 @@ static void Run( intf_thread_t *p_intf )
int i_interval =0; int i_interval =0;
if( i_action == ACTIONID_PAUSE ) if( i_action == ACTIONID_PAUSE )
{
var_Get( p_input, "state", &val );
if( val.i_int != PAUSE_S )
{ {
ClearChannels( p_intf, p_vout ); ClearChannels( p_intf, p_vout );
vout_OSDIcon( VLC_OBJECT( p_intf ), DEFAULT_CHAN, vout_OSDIcon( VLC_OBJECT( p_intf ), DEFAULT_CHAN,
...@@ -385,6 +388,7 @@ static void Run( intf_thread_t *p_intf ) ...@@ -385,6 +388,7 @@ static void Run( intf_thread_t *p_intf )
val.i_int = PAUSE_S; val.i_int = PAUSE_S;
var_Set( p_input, "state", val ); 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