Re: [FFmpeg-devel] [PATCH 3/4] avcodec/mediacodecdec: refactor pts handling

2018-04-25 Thread Matthieu Bouron
On Tue, Apr 24, 2018 at 01:59:25PM -0700, Aman Gupta wrote: > From: Aman Gupta > > Also fixes a bug where EOS buffer was sent with incorrect > pts when not using surface generation. > --- > libavcodec/mediacodecdec_common.c | 17 ++--- > 1 file changed, 6 insertions(+), 11 deletions(

[FFmpeg-devel] [PATCH 3/4] avcodec/mediacodecdec: refactor pts handling

2018-04-24 Thread Aman Gupta
From: Aman Gupta Also fixes a bug where EOS buffer was sent with incorrect pts when not using surface generation. --- libavcodec/mediacodecdec_common.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacode