summaryrefslogtreecommitdiffstats
path: root/ext/faad
diff options
context:
space:
mode:
Diffstat (limited to 'ext/faad')
-rw-r--r--ext/faad/gstfaad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 76d4a73c..8d86fc41 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -1261,8 +1261,8 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer)
/* note: info.samples is total samples, not per channel */
ret =
- gst_pad_alloc_buffer_and_set_caps (faad->srcpad, 0, bufsize, caps,
- &outbuf);
+ gst_pad_alloc_buffer_and_set_caps (faad->srcpad, 0, bufsize,
+ GST_PAD_CAPS (faad->srcpad), &outbuf);
if (ret != GST_FLOW_OK)
goto out;