summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-09-04 22:12:51 +0300
committerUoti Urpala <uau@mplayer2.org>2011-09-04 22:12:51 +0300
commit159102e0cb2d403ad81b781d9b9090b90be3d673 (patch)
tree81a24122e791bc322635aa8d82bf2550c5cdf418 /mplayer.c
parentb948dd346192b682e45d2e80c38bb721bb74fdd3 (diff)
downloadmpv-159102e0cb2d403ad81b781d9b9090b90be3d673.tar.bz2
mpv-159102e0cb2d403ad81b781d9b9090b90be3d673.tar.xz
core: fix --sstep
The --step option had broken at some point. Probably nobody uses it, but it was easy to fix.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
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);
}