From: Matthew Waters Date: Tue, 24 Feb 2015 13:00:48 +0000 (+1100) Subject: glmemory: allow sharing between buffers X-Git-Tag: 1.19.3~511^2~1989^2~1049 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fba2a2093fb5a30acae544c675420dcc431a731b;p=platform%2Fupstream%2Fgstreamer.git glmemory: allow sharing between buffers There was no real reason why the flag was set. We should be able to handle it. Fixes last-sample handling on gl sinks --- diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index f940790..18a364b 100644 --- a/gst-libs/gst/gl/gstglmemory.c +++ b/gst-libs/gst/gl/gstglmemory.c @@ -714,8 +714,8 @@ _gl_mem_init (GstGLMemory * mem, GstAllocator * allocator, GstMemory * parent, maxsize = gst_gl_get_plane_data_size (info, valign, plane); - gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE, - allocator, parent, maxsize, 0, 0, maxsize); + gst_memory_init (GST_MEMORY_CAST (mem), 0, allocator, parent, maxsize, 0, 0, + maxsize); mem->context = gst_object_ref (context); mem->tex_type =