diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-02-02 13:59:48 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-02-02 13:59:48 +0000 |
commit | bbf23ce2c78e0ef58aff9427b49de1646fc09594 (patch) | |
tree | 986cde9988ba14020443268ba561356a7c77a2d7 /gst | |
parent | 19a845c0d75835df2ebf6dcb05b4a7dfd2c85ffd (diff) | |
download | gst-plugins-bad-bbf23ce2c78e0ef58aff9427b49de1646fc09594.tar.gz gst-plugins-bad-bbf23ce2c78e0ef58aff9427b49de1646fc09594.tar.bz2 gst-plugins-bad-bbf23ce2c78e0ef58aff9427b49de1646fc09594.zip |
Cleanups
Original commit message from CVS:
Cleanups
Diffstat (limited to 'gst')
-rw-r--r-- | gst/passthrough/gstpassthrough.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index af9c674c..caa25598 100644 --- a/gst/passthrough/gstpassthrough.c +++ b/gst/passthrough/gstpassthrough.c @@ -117,8 +117,8 @@ passthrough_connect_sink (GstPad *pad, GstCaps *caps) g_return_val_if_fail (caps != NULL, GST_PAD_CONNECT_DELAYED); filter = GST_PASSTHROUGH (gst_pad_get_parent (pad)); - g_return_if_fail (filter != NULL); - g_return_if_fail (GST_IS_PASSTHROUGH (filter)); + g_return_val_if_fail (filter != NULL, GST_PAD_CONNECT_REFUSED); + g_return_val_if_fail (GST_IS_PASSTHROUGH (filter), GST_PAD_CONNECT_REFUSED); format = gst_caps_get_string(caps, "format"); |