diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ladspa/gstsignalprocessor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/ladspa/gstsignalprocessor.c b/ext/ladspa/gstsignalprocessor.c index 9caf7b7b..375ea839 100644 --- a/ext/ladspa/gstsignalprocessor.c +++ b/ext/ladspa/gstsignalprocessor.c @@ -325,8 +325,9 @@ gst_signal_processor_process (GstSignalProcessor * self) srcpad = (GstSignalProcessorPad *) l2->data; - ret = gst_pad_alloc_buffer (GST_PAD (srcpad), -1, self->buffer_frames, - GST_PAD_CAPS (srcpad), &srcpad->pen); + ret = + gst_pad_alloc_buffer_and_set_caps (GST_PAD (srcpad), -1, + self->buffer_frames, GST_PAD_CAPS (srcpad), &srcpad->pen); if (ret != GST_FLOW_OK) { self->state = ret; |