summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-09 18:10:42 +0200
committerwm4 <wm4@nowhere>2015-06-09 18:21:56 +0200
commitbd6476307629a9635881dd51de7f671d6e166845 (patch)
tree3ccb5339911e38990bc503a438e8c9ced0229f28
parent9986593b5049d569a907d6242913e0a7798c2a85 (diff)
downloadmpv-bd6476307629a9635881dd51de7f671d6e166845.tar.bz2
mpv-bd6476307629a9635881dd51de7f671d6e166845.tar.xz
command: remove unnecessary event IDs
These were actually not needed for correct function, since individual property change notifications via mp_notify_property() are used.
-rw-r--r--player/command.c2
-rw-r--r--player/command.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/player/command.c b/player/command.c
index 25b99744db..40ecd15916 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3544,8 +3544,6 @@ static const char *const *const mp_event_property_change[] = {
"demuxer-cache-time"),
E(MP_EVENT_WIN_RESIZE, "window-scale"),
E(MP_EVENT_WIN_STATE, "window-minimized", "display-names", "display-fps"),
- E(MP_EVENT_AUDIO_DEVICES, "audio-device-list"),
- E(MP_EVENT_DETECTED_AUDIO_DEVICE, "audio-out-detected-device"),
};
#undef E
diff --git a/player/command.h b/player/command.h
index 447e01c011..c87cbeba7f 100644
--- a/player/command.h
+++ b/player/command.h
@@ -49,8 +49,6 @@ enum {
MP_EVENT_CACHE_UPDATE,
MP_EVENT_WIN_RESIZE,
MP_EVENT_WIN_STATE,
- MP_EVENT_AUDIO_DEVICES,
- MP_EVENT_DETECTED_AUDIO_DEVICE,
};
bool mp_hook_test_completion(struct MPContext *mpctx, char *type);