diff options
author | Dudemanguy <random342@airmail.cc> | 2024-02-17 00:10:08 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-17 15:41:23 +0000 |
commit | 965119a2b7c1bb4769f5027dd645b9926847de20 (patch) | |
tree | 2433bac39e9047092ac29a0f08eb013a0e678267 /player/command.c | |
parent | 98005003da2d644f9f58f4e51df8bdd03b5e26e5 (diff) | |
download | mpv-965119a2b7c1bb4769f5027dd645b9926847de20.tar.bz2 mpv-965119a2b7c1bb4769f5027dd645b9926847de20.tar.xz |
command: add window-id to MPV_EVENT_VIDEO_RECONFIG property change
25b66256d7ff48254b2055a066e29f260414112f 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.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c index 66b808e438..08257a0bbb 100644 --- a/player/command.c +++ b/player/command.c @@ -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", |