diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-09-04 22:12:51 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-09-04 22:12:51 +0300 |
commit | 159102e0cb2d403ad81b781d9b9090b90be3d673 (patch) | |
tree | 81a24122e791bc322635aa8d82bf2550c5cdf418 /mplayer.c | |
parent | b948dd346192b682e45d2e80c38bb721bb74fdd3 (diff) | |
download | mpv-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |