Skip to content

Commit

Permalink
Hook up pyroenc hevc main10.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Feb 12, 2025
1 parent 8de90dd commit e33015e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions video/ffmpeg_encode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,12 @@ bool VideoEncoder::Impl::init_video_codec()
{
pyro_profile = PyroEnc::Profile::H265_Main;
}
else if ((options.format == Format::P010 || options.format == Format::P016) &&
ext.supports_video_encode_h265 &&
strcmp(options.encoder, "h265_pyro") == 0)
{
pyro_profile = PyroEnc::Profile::H265_Main10;
}
else
{
LOGE("Could not find supported pyroenc profile for requested codec.\n");
Expand Down

0 comments on commit e33015e

Please sign in to comment.