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)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000 (19:31 +0000)
commit030fc8b7d0669243172c263ad6ba8a6b74d8ae2b
treeabba02d204fa438a80b36f096d5cc113dec0c812
parentb70edbff150324466517d137f8a72cb8e963e775
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