diff options
author | Lynne <dev@lynne.ee> | 2025-03-01 23:58:41 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2025-03-03 19:43:57 +0100 |
commit | 8631990f22b7c0637531916748daf18eea6d442c (patch) | |
tree | 71dd8fa27873afcef391c47b7ef3870e92094f5a /libavutil/frame.c | |
parent | d21ed2298ef122c64e578831c6dbd2bb2134df79 (diff) | |
download | ffmpeg-8631990f22b7c0637531916748daf18eea6d442c.tar.gz |
vulkan: take refs of frames using the regular buffer ref path
This simplifies the code, reduces allocations, and critically, does
not store references of frames, along with references to hw_frames_ctx.
The issue was that storing refs to frames while transferring stored
refs to hw_frames_ctx of frames, and so created a circular dependency,
which caused the Vulkan device to never be terminated.
This only stores what it strictly needs as a dependency, and enables
the frames context to be freed, even while doing asynchronous transfers.
Diffstat (limited to 'libavutil/frame.c')
0 files changed, 0 insertions, 0 deletions