+2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_chain):
+ Don't ignore flow return from gst_pad_push().
+
2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
* ext/libvisual/visual.c: (gst_visual_getcaps),
static GstFlowReturn
gst_audio_filter_chain (GstPad * pad, GstBuffer * buffer)
{
+ GstFlowReturn ret = GST_FLOW_OK;
GstBuffer *inbuf = GST_BUFFER (buffer);
GstAudioFilter *audiofilter;
GstBuffer *outbuf;
GST_BUFFER_SIZE (inbuf), GST_OBJECT_NAME (audiofilter));
if (audiofilter->passthru) {
- gst_pad_push (audiofilter->srcpad, buffer);
+ ret = gst_pad_push (audiofilter->srcpad, buffer);
gst_object_unref (audiofilter);
- return GST_FLOW_OK;
+ return ret;
}
audiofilter->size = GST_BUFFER_SIZE (inbuf);
gst_buffer_unref (inbuf);
}
- gst_pad_push (audiofilter->srcpad, outbuf);
+ ret = gst_pad_push (audiofilter->srcpad, outbuf);
gst_object_unref (audiofilter);
- return GST_FLOW_OK;
+ return ret;
}
static void