summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-14 22:19:07 +0200
committerwm4 <wm4@nowhere>2014-04-14 22:19:07 +0200
commit60b900487257a3435df02c2b2ce54551c59e4311 (patch)
tree3e9975204ed1403e250604ea60bd5fc14b1b0abf /player/loadfile.c
parent1e3e7bb7f4dd87d767c519c73a0ac6e26bd19c15 (diff)
downloadmpv-60b900487257a3435df02c2b2ce54551c59e4311.tar.bz2
mpv-60b900487257a3435df02c2b2ce54551c59e4311.tar.xz
command: add property to indicate when pausing due to --keep-open
This property is set to "yes" if playback was paused due to --keep-open. The change notification might not always be perfect; maybe that should be improved.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index ee3deed4a8..f2164d205b 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1332,6 +1332,7 @@ goto_reopen_demuxer: ;
mpctx->playing_msg_shown = false;
mpctx->paused = false;
mpctx->paused_for_cache = false;
+ mpctx->eof_reached = false;
mpctx->seek = (struct seek_params){ 0 };
// If there's a timeline force an absolute seek to initialize state