diff options
author | Lynne <dev@lynne.ee> | 2023-10-25 22:58:20 +0000 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-10-28 21:16:15 +0200 |
commit | 1a8e76698478006d97432f1eb972d37ef3549dbc (patch) | |
tree | cd28fe1b8b0d35766baaeb23d8944e2d03ca10b2 /libavcodec/vp9data.h | |
parent | 1ad7bd0fe5f9eaaf8eb9d8ab99f19a2457e3aefe (diff) | |
download | ffmpeg-1a8e76698478006d97432f1eb972d37ef3549dbc.tar.gz |
vulkan: return VK_NOT_READY when no queries are available
Fixes a validation issue.
The issue is that the function gets called before we've sumitted a frame
for decoding to that context. However, we cannot run queries before
they've been reset, which happens at submission time.
As we'd need to otherwise run a command queue at init-time, just check
if submissions have happened.
Diffstat (limited to 'libavcodec/vp9data.h')
0 files changed, 0 insertions, 0 deletions