diff options
author | Lynne <dev@lynne.ee> | 2020-03-12 18:03:43 +0000 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-03-12 18:16:11 +0000 |
commit | b31959d776e6da3ff8519121bafae9753f2be20f (patch) | |
tree | 464e833b7a38065eecf4d96773958a2a46d214ce /libavutil/hwcontext_opencl.h | |
parent | 501bd57bdbc488db93c95d40682ef0b4f01ccec5 (diff) | |
download | ffmpeg-b31959d776e6da3ff8519121bafae9753f2be20f.tar.gz |
hwcontext_vulkan: duplicate DMABUF objects before importing them
The specifications are very vague about who has ownership, and in this case,
Vulkan takes ownership of all DMABUF FDs passed to it, causing errors
to occur if someone gave us images for mapping which were meant to be kept.
The old behavior worked with one-way VAAPI and DMABUF imports, but was broken
with clients like wlroots' dmabuf-capture.
Diffstat (limited to 'libavutil/hwcontext_opencl.h')
0 files changed, 0 insertions, 0 deletions