mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-23 16:39:02 +00:00
Require a test frame for Vulkan video decoding
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user