alpha: fix stride issue when out buffer has padding on right
authorHaihua Hu <jared.hu@nxp.com>
Thu, 4 Aug 2022 10:09:52 +0000 (18:09 +0800)
committerHaihua Hu <jared.hu@nxp.com>
Tue, 9 Aug 2022 05:04:11 +0000 (13:04 +0800)
commit82025897c4831db6807fb4266dac71a609ff0b3b
tree41d0fc158bb32dae22731c57fdb1b10e933f5648
parent05dae94352f60e415ebafd5da563f9cbd02123cb
alpha: fix stride issue when out buffer has padding on right

if outbuf has padding on right, need jump to next line use stride,
otherwise downstream element will show a wrong picture when use the
same stride

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2842>
subprojects/gst-plugins-good/gst/alpha/gstalpha.c