Skip to content

Commit

Permalink
fixup! Initial implementation of yuv444 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ns6089 committed Jun 26, 2024
1 parent d5cdd61 commit 8101075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8101075

Please sign in to comment.