glmemory: Fix handling of stride with alignement larger then 8
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 12 May 2014 23:29:45 +0000 (19:29 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000 (19:31 +0000)
commit157607989a25eb2df47b7faa7e9a7ea69f79dbad
tree5342a1310743a422dbedbb0b77bcf16bf4174b63
parent030fc8b7d0669243172c263ad6ba8a6b74d8ae2b
glmemory: Fix handling of stride with alignement larger then 8

Setting a scaled factor for X coordinate is not enough as the indexer
will still think stride is shorter and will not fully skip it. Instead,
update width, so the lines are as expected. Combined with the scale, it
will hide the cropped portion.

https://bugzilla.gnome.org/show_bug.cgi?id=729896
gst-libs/gst/gl/gstglmemory.c