1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 01:49:33 +00:00
mpv/player
wm4 4a65c22c50 osd: fix possible misses of osd-dimensions property updates
check_obj_resize() in sub/osd.c calls mp_client_broadcast_event(), which
calls notify_property_events(). This is pretty unexpected, because
check_obj_resize() may be called from the VO thread. While that's sort
of awful, it seems to be OK locking-wise. But it breaks an assumption in
notify_property_events() that the core doesn't need to be woken up,
which could possibly lead to a missed/delayed property update (although
rather unlikely).

Fix this by explicitly waking up the core when it's called from the OSD
code.
2020-01-08 02:31:18 +01:00
..
javascript js: support mp.create_osd_overlay (match 07287262) 2019-12-23 17:52:34 +02:00
lua lua: use new OSD property 2020-01-08 00:16:58 +01:00
audio.c command: shuffle some crap around 2019-11-25 00:26:36 +01:00
client.c osd: fix possible misses of osd-dimensions property updates 2020-01-08 02:31:18 +01:00
client.h osd: fix possible misses of osd-dimensions property updates 2020-01-08 02:31:18 +01:00
command.c command: cache display-hidpi-scale property 2020-01-08 02:16:45 +01:00
command.h player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
configfiles.c configfiles: Fix utime retcode check 2019-12-31 00:17:07 +01:00
core.h player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: support mp.create_osd_overlay (match 07287262) 2019-12-23 17:52:34 +02:00
loadfile.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
lua.c lua: use new OSD property 2020-01-08 00:16:58 +01:00
main.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
misc.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c player: make unpausing directly after seek work with --keep-open 2019-12-30 17:40:21 +01:00
screenshot.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
screenshot.h screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
scripting.c console.lua: add this script 2019-12-08 02:46:44 +01:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00