summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-20 00:36:42 +0100
committerwm4 <wm4@nowhere>2015-03-20 00:36:42 +0100
commit055720fbce526c120921391f4096d956ed2e725f (patch)
tree3206622a3e24831e2fd1438782ad0e0a306ade02
parent6b53897d75c3b57d018ca3faa34d732acae86b79 (diff)
downloadmpv-055720fbce526c120921391f4096d956ed2e725f.tar.bz2
mpv-055720fbce526c120921391f4096d956ed2e725f.tar.xz
player: fix seekability test
Commit 39ed9b7d9 got this wrong, because these shitty flags are so goddamn confusing.
-rw-r--r--player/configfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/configfiles.c b/player/configfiles.c
index d161977248..f7d35851f0 100644
--- a/player/configfiles.c
+++ b/player/configfiles.c
@@ -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;
}