Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-15 Thread Matthieu Bouron
On Mon, Dec 11, 2017 at 01:27:51PM +0100, Matthieu Bouron wrote: > On Mon, Dec 04, 2017 at 02:50:22PM +0100, Matthieu Bouron wrote: > > [...] > > > > > It works but output the following error: > > > > Invalid setup for format mediacodec: does not match the type of the > > provided device

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-11 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 02:50:22PM +0100, Matthieu Bouron wrote: [...] > > It works but output the following error: > > Invalid setup for format mediacodec: does not match the type of the provided > device context. > Invalid return from get_format(): mediacodec not in possible list. > >

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 12:45:45PM +0100, Matthieu Bouron wrote: > On Mon, Dec 04, 2017 at 11:52:44AM +0100, Matthieu Bouron wrote: > > On Mon, Dec 04, 2017 at 11:19:52AM +0100, Matthieu Bouron wrote: > > > On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > > > > From: Aman Gupta

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 11:52:44AM +0100, Matthieu Bouron wrote: > On Mon, Dec 04, 2017 at 11:19:52AM +0100, Matthieu Bouron wrote: > > On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > > > From: Aman Gupta > > > > > > --- > > > libavutil/Makefile | 1 +

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 11:19:52AM +0100, Matthieu Bouron wrote: > On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > --- > > libavutil/Makefile | 1 + > > libavutil/hwcontext.c| 4 > > libavutil/hwcontext.h

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > From: Aman Gupta > > --- > libavutil/Makefile | 1 + > libavutil/hwcontext.c| 4 > libavutil/hwcontext.h| 1 + > libavutil/hwcontext_mediacodec.c | 50 >

[FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-03 Thread Aman Gupta
From: Aman Gupta --- libavutil/Makefile | 1 + libavutil/hwcontext.c| 4 libavutil/hwcontext.h| 1 + libavutil/hwcontext_mediacodec.c | 50 libavutil/hwcontext_mediacodec.h | 36