summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/context.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-10-26 22:21:26 -0500
committerDudemanguy <random342@airmail.cc>2022-10-28 02:36:46 +0000
commit31af37f87762e5e548fa234b30f6248d8d6c19e4 (patch)
treee87d1e09083751ae9f61244919e78c42b7d3ac55 /video/out/gpu/context.c
parent99699cd7baa6be8aa949eab39a3964c102202180 (diff)
downloadmpv-31af37f87762e5e548fa234b30f6248d8d6c19e4.tar.bz2
mpv-31af37f87762e5e548fa234b30f6248d8d6c19e4.tar.xz
vo_dmabuf_wayland: load all hwdecs in preinit
vo_gpu and vo_gpu_next typically load hwdec interops on demand and vo_dmabuf_wayland naively copied this logic. This is actually wrong however since draw_frame in the VO always inherently relies on hwdec being fully loaded. This can lead to a race condition during startup which happens with --force-window=immediate. Avoid this by simply always loading all the interops. In the case of vo_dmabuf_wayland, this is not really a big deal since there's only vaapi and drmprime to load. Also fixes #10791 (the other half).
Diffstat (limited to 'video/out/gpu/context.c')
0 files changed, 0 insertions, 0 deletions