glbuffer: add a name to the allocator

This commit is contained in:
Matthew Waters 2015-12-17 15:50:40 +11:00 committed by Tim-Philipp Müller
parent 09c8c23842
commit a51eccc734

View file

@ -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);
}
/**