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; }