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:
6ab7e6c
)
transform: do pad_alloc fallback correctly
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 29 Apr 2011 11:42:57 +0000
(13:42 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 29 Apr 2011 11:42:57 +0000
(13:42 +0200)
libs/gst/base/gstbasetransform.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasetransform.c
b/libs/gst/base/gstbasetransform.c
index
02ed892
..
2247995
100644
(file)
--- a/
libs/gst/base/gstbasetransform.c
+++ b/
libs/gst/base/gstbasetransform.c
@@
-1417,8
+1417,8
@@
gst_base_transform_prepare_output_buffer (GstBaseTransform * trans,
GST_DEBUG_OBJECT (trans, "doing alloc with caps %" GST_PTR_FORMAT,
oldcaps);
- *out_buf = gst_buffer_
ref (in_buf
);
-
+ *out_buf = gst_buffer_
new_and_alloc (outsize
);
+ gst_buffer_set_caps (*out_buf, oldcaps);
#if 0
ret = gst_pad_alloc_buffer (trans->srcpad,
GST_BUFFER_OFFSET (in_buf), outsize, oldcaps, out_buf);