gl/upload: set initted to TRUE when _init_upload succeeded
authorJulien Isorce <julien.isorce@collabora.co.uk>
Thu, 8 May 2014 14:38:24 +0000 (15:38 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglupload.c

index 88d206f..3261d96 100644 (file)
@@ -629,6 +629,8 @@ _init_upload (GstGLUpload * upload)
         &out_info))
     goto error;
 
+  upload->initted = TRUE;
+
   return TRUE;
 
 error: