glmemory: use the plane offsets to compute the size of the data pointer
authorMatthew Waters <ystreet00@gmail.com>
Thu, 31 Jul 2014 05:18:04 +0000 (15:18 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:45 +0000 (19:31 +0000)
commit9426c0793eb8f2110b1b7516fe9756106df998fe
tree912af01f1cae4880358327b8be54083547dd8c54
parentc216799b2064cf477c27d27b6db47a39d1555035
glmemory: use the plane offsets to compute the size of the data pointer

Certain elements expect that there be a certain number of lines
that they can write into.  e.g. for odd heights, I420, YV12, NV12,
NV21 (and others) Y lines are expected to have exactly twice the
number of U/UV lines.

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