[FFmpeg-devel] [PATCH] lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByType

Matthieu Bouron matthieu.bouron at gmail.com
Mon Jun 13 14:47:45 CEST 2016


On Wed, Jun 08, 2016 at 11:19:51PM +0200, Matthieu Bouron wrote:
> From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
> 
> 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.
> ---

If there is no objection, I will push this patch in one day.

Matthieu

[...]


More information about the ffmpeg-devel mailing list