glbuffer: Don't pass allocation params
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 16 Dec 2015 16:56:08 +0000 (11:56 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:12 +0000 (19:32 +0000)
commit81cb10aa0556f78fbb4117ef2e01678b79621d63
tree68047a3f00600d4e6cbc0a2798b981257eac2ef7
parentb365425dc24b23956e6a75f1780c57ad69dfef52
glbuffer: Don't pass allocation params

The imported memory has already been allocated, passing allocation
parameters with alignment confuses the memory which endup with a
size different from maxsize and lead to overrun when the memory
is being copied.
gst-libs/gst/gl/gstglbuffer.c