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

Kirill Gavrilov gavr.mail at gmail.com
Sun Mar 27 23:15:56 CEST 2016


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

-----------------------------------------------
Kirill Gavrilov,
Software designer.


More information about the ffmpeg-devel mailing list