glupload: move meta-data copy into gst-gl library
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 14 Mar 2015 18:48:21 +0000 (19:48 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:58 +0000 (19:31 +0000)
commit55dbb25dcc4ba8dd1e8a79786c3b955c17ff12c8
tree80caa103125a3ce4dd4f71eba1e8181901504f5a
parent420cdf9cf62a922ba4058b459e606c99ada682f8
glupload: move meta-data copy into gst-gl library

In some upload implementations the out buffer has more than one references,
turning the buffer not writable, so it won't be possible to modify its
meta-data.

This patch moves the meta-data copy before increasing the reference of the out
buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=746173
ext/gl/gstgluploadelement.c
gst-libs/gst/gl/gstglupload.c