From 81010757eee948cc886518d5104221bddc7a4c23 Mon Sep 17 00:00:00 2001 From: ns6089 <61738816+ns6089@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:16:38 +0300 Subject: [PATCH] fixup! Initial implementation of yuv444 encoding --- src/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.cpp b/src/video.cpp index e6fdb64e810..8bfffcbbaa2 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -1404,7 +1404,7 @@ namespace video { return nullptr; } - if (config.chromaSamplingType > 0 && !video_format[encoder_t::YUV444]) { + if (config.chromaSamplingType == 1 && !video_format[encoder_t::YUV444]) { BOOST_LOG(error) << video_format.name << ": YUV 4:4:4 not supported"sv; return nullptr; }