glimagesink: don't set the upload to NULL on the drain query

https://bugzilla.gnome.org/show_bug.cgi?id=732694
This commit is contained in:
Matthew Waters 2014-11-12 11:44:07 +11:00
parent a2e2507dbe
commit 5c48440c9a

View 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;