Revert "glbuffer: Don't pass allocation params"

This reverts commit 052f41e5c2.

This is incorrect and will affect any other glbuffer user that needs/wants to
perform data alignment.
This commit is contained in:
Matthew Waters 2015-12-17 11:06:34 +11:00 committed by Tim-Philipp Müller
parent 81cb10aa05
commit 4cb42d34c6

View file

@ -97,7 +97,7 @@ _gl_buffer_init (GstGLBuffer * mem, GstAllocator * allocator,
mem->usage_hints = gl_usage;
gst_gl_base_memory_init ((GstGLBaseMemory *) mem, allocator, parent, context,
NULL, size, NULL, NULL);
params, size, NULL, NULL);
GST_CAT_DEBUG (GST_CAT_GL_BUFFER, "new GL buffer memory:%p size:%"
G_GSIZE_FORMAT, mem, mem->mem.mem.maxsize);