summaryrefslogtreecommitdiffstats
path: root/gst/speed
diff options
context:
space:
mode:
Diffstat (limited to 'gst/speed')
-rw-r--r--gst/speed/gstspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index fb04f35e..4e11891a 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -686,7 +686,7 @@ speed_chain (GstPad * pad, GstBuffer * in_buf)
filter->sample_size;
result =
- gst_pad_alloc_buffer (filter->srcpad, -1, out_size,
+ gst_pad_alloc_buffer_and_set_caps (filter->srcpad, -1, out_size,
GST_PAD_CAPS (filter->srcpad), &out_buf);
if (result != GST_FLOW_OK) {