glupload: Fix DirectVIV uploader for formats with a single plane
authorSebastian Dröge <sebastian@centricular.com>
Mon, 12 Jun 2017 19:29:01 +0000 (22:29 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:28 +0000 (19:32 +0000)
commit59db0ee4e1699b316ecf31befa8d930f3278d45d
treee40cbc879aff8cb21b5adc09bdf835a59b4e1c2a
parente0d351c7989d215a969ee8273c5df6dbb95757da
glupload: Fix DirectVIV uploader for formats with a single plane

We have to pass the "height" as height = vmeta->offset[1] / width to the
API, which of course does not work well for formats with only a single
plane. Use the whole memory size instead of the offset in that case.
gst-libs/gst/gl/gstglupload.c