diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-10-12 20:49:34 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-10-18 23:05:14 +0800 |
commit | 236197088059b8e86becb7c3fe5d2cb14466bf25 (patch) | |
tree | 093382be9a6f6291ff4cbda4c053333528d553c6 /libavfilter/vf_setparams.c | |
parent | cbb6199ff864c6985efad1bb63cdad6e8a650b9b (diff) | |
download | ffmpeg-236197088059b8e86becb7c3fe5d2cb14466bf25.tar.gz |
avcodec/videotoolboxenc: Check and set hevc profile
1. If user don't specify the profile, set it to main10 when pixel
format is 10 bits. Before the patch, videotoolbox output main
profile bitstream with 10 bit input, which can be confusing.
2. Warning when user set profile to main explicitly with 10 bit
input. It works, but not the best choice.
3. Reject main 10 profile with 8 bit input, it doesn't work.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavfilter/vf_setparams.c')
0 files changed, 0 insertions, 0 deletions