]> git.sesse.net Git - ffmpeg/commit
avcodec/options_table: make AVCodecContext->profile search for child constants
authorMarton Balint <cus@passwd.hu>
Sun, 10 May 2020 18:08:40 +0000 (20:08 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 22 May 2020 20:16:53 +0000 (22:16 +0200)
commit337fe4bcc2495ba77b1c6175d1b1233cc04cc589
tree2de116d9a2363dcacef381d088c95bb3640a7ae2
parentaf9e622776c9268fd473cc23a0fd6b29f0017f64
avcodec/options_table: make AVCodecContext->profile search for child constants

This change makes it possible for child encoders to define custom profile
option names which can be used for setting the AVCodecContext->profile.

Also rename unit name to something rather unique, so it won't be used elsewhere.

Signed-off-by: Marton Balint <cus@passwd.hu>
doc/codecs.texi
libavcodec/options_table.h