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 committed by Tim-Philipp Müller
parent db6ea1b3bd
commit f0c118c77a

View file

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