player: fix seekability test

Commit 39ed9b7d9 got this wrong, because these shitty flags are so
goddamn confusing.
This commit is contained in:
wm4 2015-03-20 00:36:42 +01:00
parent 6b53897d75
commit 055720fbce
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}