summaryrefslogtreecommitdiffstats
path: root/player/command.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-20 21:35:59 +0200
committerwm4 <wm4@nowhere>2016-06-20 21:35:59 +0200
commit22291a25871a0268430231615be00edbcaf78790 (patch)
tree81b53c6e9ce51fcbce37b362689346475597fef5 /player/command.h
parentfc50f3772cae63bd7e69bb4b76630a7bfd537f43 (diff)
downloadmpv-22291a25871a0268430231615be00edbcaf78790.tar.bz2
mpv-22291a25871a0268430231615be00edbcaf78790.tar.xz
command: improve playlist* properties change notifications
Until now, only the "playlist" property itself had proper change notification. Extend it to all other properties as well. Fixes #3267 (hopefully).
Diffstat (limited to 'player/command.h')
-rw-r--r--player/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.h b/player/command.h
index e65ffa0740..7c3994c39e 100644
--- a/player/command.h
+++ b/player/command.h
@@ -51,6 +51,7 @@ enum {
MP_EVENT_CACHE_UPDATE,
MP_EVENT_WIN_RESIZE,
MP_EVENT_WIN_STATE,
+ MP_EVENT_CHANGE_PLAYLIST,
};
bool mp_hook_test_completion(struct MPContext *mpctx, char *type);