From dd9569913b54ba65dc6c8bbc32da818c7780822e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 26 Jul 2024 01:20:48 -0500 Subject: [PATCH] Remove hardcoded block for YUV444 on non-Vulkan renderers --- app/streaming/video/ffmpeg.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index 8f5ff00a..23313800 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -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,