glimagesink: keep the uploaded buffer around on successful redisplay
authorMatthew Waters <ystreet00@gmail.com>
Tue, 29 Jul 2014 03:25:22 +0000 (13:25 +1000)
committerMatthew Waters <ystreet00@gmail.com>
Tue, 29 Jul 2014 03:27:40 +0000 (13:27 +1000)
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

ext/gl/gstglimagesink.c

index e43d4cb..f1225c7 100644 (file)
@@ -808,7 +808,6 @@ gst_glimage_sink_show_frame (GstVideoSink * vsink, GstBuffer * buf)
     return GST_FLOW_ERROR;
   }
 
-  gst_gl_upload_release_buffer (glimage_sink->upload);
   return GST_FLOW_OK;
 
 /* ERRORS */