mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Remove hardcoded block for YUV444 on non-Vulkan renderers
This commit is contained in:
parent
778eb07c5f
commit
dd9569913b
@ -1304,12 +1304,6 @@ bool FFmpegVideoDecoder::tryInitializeHwAccelDecoder(PDECODER_PARAMETERS params,
|
||||
break;
|
||||
}
|
||||
|
||||
// TODO: reexamine this
|
||||
if ((params->videoFormat & VIDEO_FORMAT_MASK_YUV444) && config->device_type != AV_HWDEVICE_TYPE_VULKAN) {
|
||||
// We only support YUV 4:4:4 decoding on Vulkan through libplacebo
|
||||
continue;
|
||||
}
|
||||
|
||||
// Initialize the hardware codec and submit a test frame if the renderer needs it
|
||||
IFFmpegRenderer::InitFailureReason failureReason;
|
||||
if (tryInitializeRenderer(decoder, AV_PIX_FMT_NONE, params, config, &failureReason,
|
||||
|
Loading…
x
Reference in New Issue
Block a user