From 6f07ef8f5b42184df37e96ff33ee11110d3cea02 Mon Sep 17 00:00:00 2001 From: Ludovic Fauvet Date: Thu, 21 Apr 2011 23:16:15 +0200 Subject: [PATCH] input: send position updates to the intf during a fast-skip Signed-off-by: Jean-Baptiste Kempf --- src/input/var.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/input/var.c b/src/input/var.c index b516ffb53b..83510c8c3c 100644 --- a/src/input/var.c +++ b/src/input/var.c @@ -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; 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 ); } /* */ -- 2.39.5