summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-02-25 00:00:48 +1100
committerMatthew Waters <matthew@centricular.com>2015-02-25 00:00:48 +1100
commit08b1d27e14e28ed028d73de1e5f7ec2e9c0a0d71 (patch)
tree3f144aba093d408878bbb11eadbf0254eae9d84a /gst-libs/gst
parent21e95ef9fd69edc282d635f1ea7f6c7f9b1d1aea (diff)
downloadgstreamer-plugins-bad-08b1d27e14e28ed028d73de1e5f7ec2e9c0a0d71.tar.gz
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
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/gl/gstglmemory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c
index f9407900d..18a364b51 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 =