From 60b900487257a3435df02c2b2ce54551c59e4311 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 14 Apr 2014 22:19:07 +0200 Subject: 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. --- player/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player/core.h') 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) -- cgit v1.2.3