diff options
Diffstat (limited to 'ext/faad/gstfaad.c')
-rw-r--r-- | ext/faad/gstfaad.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 6057469c..299e7d19 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -867,7 +867,9 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer) guint num_samples = info.samples / faad->channels; /* note: info.samples is total samples, not per channel */ - ret = gst_pad_alloc_buffer (faad->srcpad, 0, bufsize, caps, &outbuf); + ret = + gst_pad_alloc_buffer_and_set_caps (faad->srcpad, 0, bufsize, caps, + &outbuf); if (ret != GST_FLOW_OK) goto out; |