Commit 6f07ef8f authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

input: send position updates to the intf during a fast-skip

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cceb5765
...@@ -633,6 +633,11 @@ static int TimeCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -633,6 +633,11 @@ static int TimeCallback( vlc_object_t *p_this, char const *psz_cmd,
val.f_float = (double)newval.i_time/(double)i_length; val.f_float = (double)newval.i_time/(double)i_length;
var_Change( p_input, "position", VLC_VAR_SETVALUE, &val, NULL ); var_Change( p_input, "position", VLC_VAR_SETVALUE, &val, NULL );
/*
* Notify the intf that a new event has been occurred.
* XXX this is a bit hackish but it's the only way to do it now.
*/
var_SetInteger( p_input, "intf-event", INPUT_EVENT_POSITION );
} }
/* */ /* */
......
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