summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/loadfile.c')
-rw-r--r--mpvcore/player/loadfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpvcore/player/loadfile.c b/mpvcore/player/loadfile.c
index 72d17086f9..33d10ed610 100644
--- a/mpvcore/player/loadfile.c
+++ b/mpvcore/player/loadfile.c
@@ -1202,8 +1202,10 @@ goto_reopen_demuxer: ;
else
dir = DVB_CHANNEL_LOWER;
- if (dvb_step_channel(mpctx->stream, dir))
+ if (dvb_step_channel(mpctx->stream, dir)) {
mpctx->stop_play = PT_RELOAD_DEMUXER;
+ mpctx->stream->start_pos = stream_tell(mpctx->stream);
+ }
}
#endif
goto terminate_playback;