gl/upload: set out_tex after reset, not before
authorJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 12 May 2014 12:32:31 +0000 (13:32 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000 (19:31 +0000)
commitc16ab9e66bc5e438af458887c3c5ca72a886cadb
tree77de9828d96d069867848ceb866a372dda928e54
parent5cdfd5117261617e3d7e35d56a48a5f89242b4df
gl/upload: set out_tex after reset, not before

Fix a regression introduced recently with the lazy init.
It was happening when calling gst_video_gl_texture_upload_meta_upload
from an aplication. So not using gst_gl_upload_perform_with_buffer.
gst-libs/gst/gl/gstglupload.c