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)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 12 May 2014 12:43:19 +0000 (13:43 +0100)
commitd93cd25e2dd747019dbf8ba2d0b3c3d555d8f1c5
tree551f6b7f8ca0ffc453fa5efa89ab814553e9f91d
parentf14e5ea02702f1cbfce013f7161a45615d609dcf
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