summaryrefslogtreecommitdiffstats
path: root/gst/wavparse
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-09-10 09:31:40 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-09-10 09:31:40 +0000
commit0b497b1634b097988451b70aca5bf4190b81c01f (patch)
tree26ce2f5d73e89d98f284f097727221f777ab4117 /gst/wavparse
parentdc3b48f77c977d055efa550f01d691d2c4ec110f (diff)
This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS: This updates all plugins to the new API for gst_pad_try_set_caps
Diffstat (limited to 'gst/wavparse')
-rw-r--r--gst/wavparse/gstwavparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 76547eda..e4fdca05 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -275,7 +275,7 @@ gst_wavparse_chain (GstPad *pad, GstBuffer *buf)
"channels", GST_PROPS_INT (format->wChannels)
);
- if (!gst_pad_try_set_caps (wavparse->srcpad, caps)) {
+ if (gst_pad_try_set_caps (wavparse->srcpad, caps) <= 0) {
gst_element_error (GST_ELEMENT (wavparse), "Could not set caps");
return;
}