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:
parent
dc5b0c8c8d
commit
13960f0043
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user