diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-05-06 21:47:51 +0800 |
---|---|---|
committer | Linjie Fu <linjie.fu@intel.com> | 2020-05-13 09:55:47 +0800 |
commit | e3e2702d400e047d7a12b3c4f7ee666ffdafd090 (patch) | |
tree | fcdcada77461aa897c0cc1142dc31997b60c0aec /libavcodec/aarch64 | |
parent | d3a7bdd4ac54349aea9150a234478635d50ebd87 (diff) | |
download | ffmpeg-e3e2702d400e047d7a12b3c4f7ee666ffdafd090.tar.gz |
lavc/libopenh264enc: Allow specifying the profile through AVCodecContext
And determine the profile with following priority:
1. s->profile; then
2. avctx->profile; then
3. s->cabac; then
4. a default profile.
This seems more natural in case user somehow sets both avctx->profile and
s->profile.
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Diffstat (limited to 'libavcodec/aarch64')
0 files changed, 0 insertions, 0 deletions