glimagesink: keep the uploaded buffer around on successful redisplay

We might need it later to perform a redisplay.  GstGLUpload will take
of releasing the previous buffer when it receives a new buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=733726
This commit is contained in:
Matthew Waters 2014-07-29 13:25:22 +10:00 committed by Tim-Philipp Müller
parent 2b82b78ef5
commit 84a50aefe1

View file

@ -859,7 +859,6 @@ gst_glimage_sink_show_frame (GstVideoSink * vsink, GstBuffer * buf)
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
} }
gst_gl_upload_release_buffer (glimage_sink->upload);
return GST_FLOW_OK; return GST_FLOW_OK;
/* ERRORS */ /* ERRORS */