From 159102e0cb2d403ad81b781d9b9090b90be3d673 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 4 Sep 2011 22:12:51 +0300 Subject: [PATCH] core: fix --sstep The --step option had broken at some point. Probably nobody uses it, but it was easy to fix. --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index a486a6957e..d10de38602 100644 --- a/mplayer.c +++ b/mplayer.c @@ -3817,7 +3817,7 @@ static void run_playloop(struct MPContext *mpctx) } // handle -sstep - if (step_sec > 0 && !mpctx->paused) { + if (step_sec > 0 && !mpctx->paused && !mpctx->restart_playback) { mpctx->osd_function = OSD_FFW; queue_seek(mpctx, MPSEEK_RELATIVE, step_sec, 0); }