gst-libs/gst/audio/gstaudiofilter.c: fix build

Original commit message from CVS:
2004-10-28  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):
fix build
This commit is contained in:
Zaheer Abbas Merali 2004-10-28 12:51:23 +00:00
parent 9f6a8d8654
commit 984c7cffd6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-10-28 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):
fix build
2004-10-28 Benjamin Otte <otte@gnome.org> 2004-10-28 Benjamin Otte <otte@gnome.org>
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link): * gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):

View file

@ -125,7 +125,7 @@ gst_audiofilter_link (GstPad * pad, const GstCaps * caps)
audiofilter = GST_AUDIOFILTER (gst_pad_get_parent (pad)); audiofilter = GST_AUDIOFILTER (gst_pad_get_parent (pad));
audiofilter_class = GST_AUDIOFILTER_CLASS (G_OBJECT_GET_CLASS (audiofilter)); audiofilter_class = GST_AUDIOFILTER_CLASS (G_OBJECT_GET_CLASS (audiofilter));
ret = GST_PAD_LINK_DELAYED; /* intialise with dummy value */
if (pad == audiofilter->srcpad) { if (pad == audiofilter->srcpad) {
link_ret = gst_pad_try_set_caps (audiofilter->sinkpad, caps); link_ret = gst_pad_try_set_caps (audiofilter->sinkpad, caps);
} else { } else {