projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5acb75c
)
glmemory: allow sharing between buffers
author
Matthew Waters
<matthew@centricular.com>
Tue, 24 Feb 2015 13:00:48 +0000
(
00:00
+1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:55 +0000
(19:31 +0000)
There was no real reason why the flag was set. We should be able
to handle it. Fixes last-sample handling on gl sinks
gst-libs/gst/gl/gstglmemory.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglmemory.c
b/gst-libs/gst/gl/gstglmemory.c
index
f940790
..
18a364b
100644
(file)
--- 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 =