Require a test frame for Vulkan video decoding

This commit is contained in:
Cameron Gutman committed 2023-12-14 17:44:58 -06:00
1 parent 7d51a4b67d
commit 8aeb976128
2 files changed
+7

No files matched your search

@@ -684,6 +684,12 @@ int PlVkRenderer::getDecoderCapabilities()
CAPABILITY_REFERENCE_FRAME_INVALIDATION_AV1;
}
bool PlVkRenderer::needsTestFrame()
{
// We need a test frame to verify that Vulkan video decoding is working
return true;
}
bool PlVkRenderer::isPixelFormatSupported(int videoFormat, AVPixelFormat pixelFormat)
{
if (m_Backend) {