From bd6476307629a9635881dd51de7f671d6e166845 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Jun 2015 18:10:42 +0200 Subject: command: remove unnecessary event IDs These were actually not needed for correct function, since individual property change notifications via mp_notify_property() are used. --- player/command.c | 2 -- player/command.h | 2 -- 2 files changed, 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); -- cgit v1.2.3