glimagesink: don't set the upload to NULL on the drain query
authorMatthew Waters <matthew@centricular.com>
Wed, 12 Nov 2014 00:44:07 +0000 (11:44 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:50 +0000 (19:31 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=732694

ext/gl/gstglimagesink.c

index b8bfe1a5133ca4280819d125fcf239ae630042ac..755c7b2bb8293739ef8129e4006b808a9c9ccbd7 100644 (file)
@@ -579,7 +579,6 @@ gst_glimage_sink_query (GstBaseSink * bsink, GstQuery * query)
 
       gst_buffer_replace (&glimage_sink->next_buffer, NULL);
       gst_gl_upload_release_buffer (glimage_sink->upload);
-      glimage_sink->upload = NULL;
 
       res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query);
       break;