mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
command: add window-id to MPV_EVENT_VIDEO_RECONFIG property change
25b66256d7
originally added this
property, but it did not add it to the property notification. This is
possibly because the window id doesn't appear to change on x11 even when
toggling VOs at runtime. However, windows uses this property and
apparently the id changes there so we should signal updates when
appropriate. Fixes #13495.
This commit is contained in:
parent
98005003da
commit
965119a2b7
@ -4075,8 +4075,8 @@ static const char *const *const mp_event_property_change[] = {
|
||||
E(MPV_EVENT_VIDEO_RECONFIG, "video-out-params", "video-params",
|
||||
"video-format", "video-codec", "video-bitrate", "dwidth", "dheight",
|
||||
"width", "height", "container-fps", "aspect", "aspect-name", "vo-configured", "current-vo",
|
||||
"video-dec-params", "osd-dimensions",
|
||||
"hwdec", "hwdec-current", "hwdec-interop"),
|
||||
"video-dec-params", "osd-dimensions", "hwdec", "hwdec-current", "hwdec-interop",
|
||||
"window-id"),
|
||||
E(MPV_EVENT_AUDIO_RECONFIG, "audio-format", "audio-codec", "audio-bitrate",
|
||||
"samplerate", "channels", "audio", "volume", "volume-gain", "mute",
|
||||
"current-ao", "audio-codec-name", "audio-params",
|
||||
|
Loading…
Reference in New Issue
Block a user