aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cdgraphics.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2023-10-25 22:58:20 +0000
committerLynne <dev@lynne.ee>2023-10-28 21:16:15 +0200
commit1a8e76698478006d97432f1eb972d37ef3549dbc (patch)
treecd28fe1b8b0d35766baaeb23d8944e2d03ca10b2 /libavcodec/cdgraphics.c
parent1ad7bd0fe5f9eaaf8eb9d8ab99f19a2457e3aefe (diff)
downloadffmpeg-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/cdgraphics.c')
0 files changed, 0 insertions, 0 deletions