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

Matthieu Bouron matthieu.bouron at gmail.com
Wed Jun 15 16:50:38 CEST 2016


On Mon, Jun 13, 2016 at 02:47:45PM +0200, Matthieu Bouron wrote:
> 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.

Pushed.

[...]


More information about the ffmpeg-devel mailing list