mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
dvb: prevent seek when reopening the demuxer
Since dvb input is not seekable anyway, this would probably just flush the stream buffer, but at least it'll avoid a bogus message about seeking errors.
This commit is contained in:
parent
ce8fe6d815
commit
ebf6d0004b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user