glbufferpool: Fix offset for odd height
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 1 Mar 2015 14:43:32 +0000 (09:43 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:56 +0000 (19:31 +0000)
commit50c491dd36e799cd7205de54ff0a1ee80559ebde
tree6cdca2a0419df3eb0bdb607e21091247f3d49de7
parent7c32611c87eeb18d3d49ae09985d8cf7e57fb364
glbufferpool: Fix offset for odd height

We also need to recalculate the offset, since otherwise the frame
mapping will be forward two lines in the U and V planes (I420) due
to gst_video_info_align() round up the Y plane to a even number of
lines.

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