[FFmpeg-devel] [PATCH] lavc/mediacodec: fix zero stride for OMX.allwinner.video.decoder.avc

Matthieu Bouron matthieu.bouron at gmail.com
Mon Mar 28 10:06:35 CEST 2016


On Sun, Mar 27, 2016 at 11:15 PM, Kirill Gavrilov <gavr.mail at gmail.com>
wrote:

> Hi,
>

Hi,


>
> on my device ("OMX.allwinner.video.decoder.avc") returned stride property
> is always 0.
> I have found that stride is overridden for "OMX.SEC.avc.dec" and prepared
> the similar patch.
> But probably it is better to change comparison at the line above to "value
> > 0"?
> >    s->stride = value >= 0 ? value : s->width
>

I think it would be better to change the comparaison line. Can you send the
relevant patch ?

Matthieu


More information about the ffmpeg-devel mailing list