projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c8c23
)
glbuffer: add a name to the allocator
author
Matthew Waters
<matthew@centricular.com>
Thu, 17 Dec 2015 04:50:40 +0000
(15:50 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:13 +0000
(19:32 +0000)
gst-libs/gst/gl/gstglbuffer.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglbuffer.c
b/gst-libs/gst/gl/gstglbuffer.c
index
86cf8be
..
4b01000
100644
(file)
--- a/
gst-libs/gst/gl/gstglbuffer.c
+++ b/
gst-libs/gst/gl/gstglbuffer.c
@@
-402,6
+402,11
@@
gst_gl_buffer_allocator_class_init (GstGLBufferAllocatorClass * klass)
static void
gst_gl_buffer_allocator_init (GstGLBufferAllocator * allocator)
{
+ GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator);
+
+ alloc->mem_type = GST_GL_BUFFER_ALLOCATOR_NAME;
+
+ GST_OBJECT_FLAG_SET (allocator, GST_ALLOCATOR_FLAG_CUSTOM_ALLOC);
}
/**