Enable or disable the given event.
Some events are enabled by default. Some events can't be disabled.
(Informational note: currently, all events are enabled by default, except MPV_EVENT_TICK.)
Safe to be called from mpv render API threads.
@param event See enum mpv_event_id. @param enable 1 to enable receiving this event, 0 to disable it. @return error code
See Implementation
Enable or disable the given event.
Some events are enabled by default. Some events can't be disabled.
(Informational note: currently, all events are enabled by default, except MPV_EVENT_TICK.)
Safe to be called from mpv render API threads.
@param event See enum mpv_event_id. @param enable 1 to enable receiving this event, 0 to disable it. @return error code