mirror of https://github.com/mpv-player/mpv
player: fix seekability test
Commit 39ed9b7d9
got this wrong, because these shitty flags are so
goddamn confusing.
This commit is contained in:
parent
6b53897d75
commit
055720fbce
|
@ -290,7 +290,7 @@ void mp_write_watch_later_conf(struct MPContext *mpctx)
|
|||
goto exit;
|
||||
|
||||
struct demuxer *demux = mpctx->demuxer;
|
||||
if (demux && demux->seekable && demux->partially_seekable) {
|
||||
if (demux && (!demux->seekable || demux->partially_seekable)) {
|
||||
MP_INFO(mpctx, "Not seekable - not saving state.\n");
|
||||
goto exit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue