summaryrefslogtreecommitdiffstats
path: root/player/core.h
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/core.h
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/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index 1d16a0e005..8a8a13cb97 100644
--- a/player/core.h
+++ b/player/core.h
@@ -335,6 +335,7 @@ typedef struct MPContext {
int last_dvb_step;
bool paused;
+ bool eof_reached;
// step this many frames, then pause
int step_frames;
// Counted down each frame, stop playback if 0 is reached. (-1 = disable)