From 840890abdd3f094c1004b5b6db1c5d321d9c9344 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 4 Apr 2013 01:16:35 +0200 Subject: mplayer: fix --step EOF handling --- core/mplayer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/mplayer.c b/core/mplayer.c index b0563a7c2c..42967dc1e5 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -3516,7 +3516,9 @@ static void run_playloop(struct MPContext *mpctx) } // handle -sstep - if (opts->step_sec > 0 && !mpctx->paused && !mpctx->restart_playback) { + if (opts->step_sec > 0 && !mpctx->stop_play && !mpctx->paused && + !mpctx->restart_playback) + { set_osd_function(mpctx, OSD_FFW); queue_seek(mpctx, MPSEEK_RELATIVE, opts->step_sec, 0); } -- cgit v1.2.3