Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: propagate SAR to h/w frames

2018-03-20 Thread Aman Gupta
On Tue, Mar 20, 2018 at 12:21 PM Derek Buitenhuis < derek.buitenh...@gmail.com> wrote: > On 3/20/2018 7:06 PM, Aman Gupta wrote: > > I guess I could leave just the if statement, to override the sar when > > display-width/height is available (which is only on newer Android OS > > versions). > >

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: propagate SAR to h/w frames

2018-03-20 Thread Derek Buitenhuis
On 3/20/2018 7:06 PM, Aman Gupta wrote: > I guess I could leave just the if statement, to override the sar when > display-width/height is available (which is only on newer Android OS > versions). Seems reasonable to me. - Derek ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: propagate SAR to h/w frames

2018-03-20 Thread Aman Gupta
On Tue, Mar 20, 2018 at 11:44 AM, Aman Gupta wrote: > > > On Tue, Mar 20, 2018 at 7:16 AM, Derek Buitenhuis < > derek.buitenh...@gmail.com> wrote: > >> On 3/19/2018 11:33 PM, Aman Gupta wrote: >> > From: Aman Gupta >> > >> > Allows consumers who are converting

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: propagate SAR to h/w frames

2018-03-20 Thread Aman Gupta
On Tue, Mar 20, 2018 at 7:16 AM, Derek Buitenhuis < derek.buitenh...@gmail.com> wrote: > On 3/19/2018 11:33 PM, Aman Gupta wrote: > > From: Aman Gupta > > > > Allows consumers who are converting hardware buffers > > to OpenGL textures to render the frames at the intended > >

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: propagate SAR to h/w frames

2018-03-20 Thread Derek Buitenhuis
On 3/19/2018 11:33 PM, Aman Gupta wrote: > From: Aman Gupta > > Allows consumers who are converting hardware buffers > to OpenGL textures to render the frames at the intended > display resolution. > --- > libavcodec/mediacodecdec_common.c | 13 + >

[FFmpeg-devel] [PATCH] avcodec/mediacodecdec: propagate SAR to h/w frames

2018-03-19 Thread Aman Gupta
From: Aman Gupta Allows consumers who are converting hardware buffers to OpenGL textures to render the frames at the intended display resolution. --- libavcodec/mediacodecdec_common.c | 13 + libavcodec/mediacodecdec_common.h | 2 ++ 2 files changed, 15 insertions(+)