Re: [FFmpeg-devel] [PATCH v2] libavcodec/mediacodecdec: switch to new decoder api

2018-01-06 Thread Matthieu Bouron
On Wed, Jan 03, 2018 at 04:54:28PM -0800, Aman Gupta wrote: > On Wed, Jan 3, 2018 at 3:25 AM, Matthieu Bouron > wrote: > > > On Thu, Dec 28, 2017 at 05:33:14PM -0800, Aman Gupta wrote: > > > From: Aman Gupta > > > > > > Using the new API gives the decoder the ability to produce > > > N frames pe

Re: [FFmpeg-devel] [PATCH v2] libavcodec/mediacodecdec: switch to new decoder api

2018-01-03 Thread Aman Gupta
On Wed, Jan 3, 2018 at 3:25 AM, Matthieu Bouron wrote: > On Thu, Dec 28, 2017 at 05:33:14PM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > Using the new API gives the decoder the ability to produce > > N frames per input packet. This is particularly useful with > > mpeg2 decoders on some

Re: [FFmpeg-devel] [PATCH v2] libavcodec/mediacodecdec: switch to new decoder api

2018-01-03 Thread Matthieu Bouron
On Thu, Dec 28, 2017 at 05:33:14PM -0800, Aman Gupta wrote: > From: Aman Gupta > > Using the new API gives the decoder the ability to produce > N frames per input packet. This is particularly useful with > mpeg2 decoders on some android devices, which automatically > deinterlace video and produce

[FFmpeg-devel] [PATCH v2] libavcodec/mediacodecdec: switch to new decoder api

2017-12-28 Thread Aman Gupta
From: Aman Gupta Using the new API gives the decoder the ability to produce N frames per input packet. This is particularly useful with mpeg2 decoders on some android devices, which automatically deinterlace video and produce one frame per field. Signed-off-by: Aman Gupta --- libavcodec/mediac