summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-20 13:29:42 -0500
committerDudemanguy <random342@airmail.cc>2023-09-21 14:08:52 +0000
commite125da2096d97ec7e64701bf6289705a24c31729 (patch)
treedd1b5cb0f1182afa813b4cae0729fa6aee3c8a53 /sub/ass_mp.h
parent69b7af3106a158e9fe4f985d19d57ea7ca51d046 (diff)
downloadmpv-e125da2096d97ec7e64701bf6289705a24c31729.tar.bz2
mpv-e125da2096d97ec7e64701bf6289705a24c31729.tar.xz
vo_dmabuf_wayland: support osd rendering when there's no video
The osd support was originally written with the requirement that we have actual frames getting delivered to the VO. This isn't always the case though. If you force a window on a blank audio file for example, then there will be no frame thus draw_frame did nothing. Since the previous commit allows us to reliably detect this, we can rearrange the code around a little bit to make this possible. A key change is to make the osd_subsurface have wl->surface as the parent. This is seemingly required otherwise the osd_surface buffers are never visible above the empty video_surface when we have a black window. Also nuke the desync call since it's completely pointless. Fixes #12429.
Diffstat (limited to 'sub/ass_mp.h')
0 files changed, 0 insertions, 0 deletions