command: remove unnecessary event IDs

These were actually not needed for correct function, since individual
property change notifications via mp_notify_property() are used.
This commit is contained in:
wm4 2015-06-09 18:10:42 +02:00
parent 9986593b50
commit bd64763076
2 changed files with 0 additions and 4 deletions

View File

@ -3544,8 +3544,6 @@ static const char *const *const mp_event_property_change[] = {
"demuxer-cache-time"), "demuxer-cache-time"),
E(MP_EVENT_WIN_RESIZE, "window-scale"), E(MP_EVENT_WIN_RESIZE, "window-scale"),
E(MP_EVENT_WIN_STATE, "window-minimized", "display-names", "display-fps"), 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 #undef E

View File

@ -49,8 +49,6 @@ enum {
MP_EVENT_CACHE_UPDATE, MP_EVENT_CACHE_UPDATE,
MP_EVENT_WIN_RESIZE, MP_EVENT_WIN_RESIZE,
MP_EVENT_WIN_STATE, MP_EVENT_WIN_STATE,
MP_EVENT_AUDIO_DEVICES,
MP_EVENT_DETECTED_AUDIO_DEVICE,
}; };
bool mp_hook_test_completion(struct MPContext *mpctx, char *type); bool mp_hook_test_completion(struct MPContext *mpctx, char *type);