aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/avio_dir_cmd.c
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-02 10:42:25 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-15 16:36:13 +0200
commite452abc5c2441356d1aa22ffcd8a9183aa1fac33 (patch)
tree4eebaa6aef1e27371430ba7985a262df0c9ed0b8 /doc/examples/avio_dir_cmd.c
parent5b95b4616aae7f37a57571aa48ea780a98a40137 (diff)
downloadffmpeg-e452abc5c2441356d1aa22ffcd8a9183aa1fac33.tar.gz
lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByType
Allows to select a codec (encoder or decoder) only if it supports a specific profile. Adds ff_AMediaCodecProfile_getProfileFromAVCodecContext to convert an AVCodecContext profile to a MediaCodec profile. It only supports H264 for now. The codepath using MediaCodecList.findDecoderForFormat() (Android >= 5.0) has been dropped as this method does not allow to select a decoder compatible with a specific profile.
Diffstat (limited to 'doc/examples/avio_dir_cmd.c')
0 files changed, 0 insertions, 0 deletions