mirror of https://github.com/mpv-player/mpv
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:
parent
9986593b50
commit
bd64763076
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue