mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-18 15:51:27 +08:00
core: fix --sstep
The --step option had broken at some point. Probably nobody uses it, but it was easy to fix.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user