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:
c805b15
)
Revert "glbuffer: Don't pass allocation params"
author
Matthew Waters
<matthew@centricular.com>
Thu, 17 Dec 2015 00:06:34 +0000
(11:06 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Thu, 17 Dec 2015 00:06:34 +0000
(11:06 +1100)
This reverts commit
052f41e5c293ec17c038467ed1e7b92b04d494b0
.
This is incorrect and will affect any other glbuffer user that needs/wants to
perform data alignment.
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
c133aa8
..
5d8db2e
100644
(file)
--- a/
gst-libs/gst/gl/gstglbuffer.c
+++ b/
gst-libs/gst/gl/gstglbuffer.c
@@
-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);