From f0adc19d49e076fc5835b7993bff1801d3fa68ab Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Tue, 6 Sep 2011 12:37:03 +0000 Subject: emotion/generic: Don't send position update when skipping frames. SVN revision: 63227 --- src/vlc/emotion_generic_vlc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/vlc/emotion_generic_vlc.c b/src/vlc/emotion_generic_vlc.c index dfa0962..4fb8ba0 100644 --- a/src/vlc/emotion_generic_vlc.c +++ b/src/vlc/emotion_generic_vlc.c @@ -223,6 +223,8 @@ _send_time_changed(struct _App *app, const struct libvlc_event_t *ev) { float new_time = ev->u.media_player_time_changed.new_time; new_time /= 1000; + if (app->vs->frame_drop > 1) + return; _send_cmd_start(app, EM_RESULT_POSITION_CHANGED); SEND_CMD_PARAM(app, new_time); _send_cmd_finish(app); -- cgit v1.2.1