Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-06-13 Thread Matthieu Bouron
On Sun, May 26, 2019 at 11:25:09AM +0200, Matthieu Bouron wrote: > On Tue, May 07, 2019 at 02:09:02AM -0700, Aman Gupta wrote: > > On Thu, May 2, 2019 at 1:20 AM Matthieu Bouron > > wrote: > > > > > On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: > > > > Avoids returning EAGAIN a

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-05-26 Thread Matthieu Bouron
On Tue, May 07, 2019 at 02:09:02AM -0700, Aman Gupta wrote: > On Thu, May 2, 2019 at 1:20 AM Matthieu Bouron > wrote: > > > On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: > > > Avoids returning EAGAIN after signaling EOF to the codec in > > > ff_mediacodec_dec_send() so we can t

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-05-07 Thread Aman Gupta
On Thu, May 2, 2019 at 1:20 AM Matthieu Bouron wrote: > On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: > > Avoids returning EAGAIN after signaling EOF to the codec in > > ff_mediacodec_dec_send() so we can try to receive a frame before > > returning in mediacodec_receive_frame()

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-05-02 Thread Matthieu Bouron
On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: > Avoids returning EAGAIN after signaling EOF to the codec in > ff_mediacodec_dec_send() so we can try to receive a frame before > returning in mediacodec_receive_frame(). > > This helps avoiding an extra round-trip between avcodec_s

[FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-04-24 Thread Matthieu Bouron
Avoids returning EAGAIN after signaling EOF to the codec in ff_mediacodec_dec_send() so we can try to receive a frame before returning in mediacodec_receive_frame(). This helps avoiding an extra round-trip between avcodec_send_frame() and avcodec_receive_frame() while draining the remaining frames