mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
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
This commit is contained in:
parent
21e95ef9fd
commit
08b1d27e14
1 changed files with 2 additions and 2 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue