glupload: Ensure we still have a texture after upload_set_format()
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 12 May 2014 17:50:47 +0000 (13:50 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 12 May 2014 22:26:12 +0000 (18:26 -0400)
commit2d0a791348c0a37cc90c99741cd64527d90d7826
tree2f60ee1cc3d49d38ecd766ed01559e00f2cc797e
parent864e1511c7cf38c1c24e1c41816bb75f71f52916
glupload: Ensure we still have a texture after upload_set_format()

gst_gl_upload_set_format() resets the upload, hence the texture.
So we need to ensure we have a texture after this call when
uploading.
gst-libs/gst/gl/gstglupload.c