1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/sub
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
..
ass_mp.c ass_mp: reset packer when allocation fails 2019-11-02 14:42:36 +01:00
ass_mp.h
dec_sub.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
dec_sub.h command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
draw_bmp.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
draw_bmp.h
filter_sdh.c sub: recognize UTF-8 characters in SDH subtitle filter 2019-03-02 02:05:58 +01:00
img_convert.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
img_convert.h
lavc_conv.c sub/lavc_conv: skip ReadOrder reset when subtitle decoder gets flushed 2019-09-21 22:02:17 +03:00
osd_dummy.c client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
osd_font.otf osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osd_libass.c client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
osd_state.h client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
osd.c osd: fix possible misses of osd-dimensions property updates 2020-01-08 02:31:18 +01:00
osd.h client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
sd_ass.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
sd_lavc.c sd_lavc: add a hack ontop of another hack to fix completely fucked file 2019-12-03 22:33:45 +01:00
sd.h command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00