From fa4316c123af3e9a7237ec0b50b50c6a977df121 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 23 Dec 2003 23:37:54 +0000 Subject: [PATCH] Use GST_PAD_LINK_SUCCESSFUL. Original commit message from CVS: Use GST_PAD_LINK_SUCCESSFUL. --- ChangeLog | 5 +++++ gst/autoplug/gstspideridentity.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7c0db2fa32..f2856af712 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-23 Colin Walters + + * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding): + Use GST_PAD_LINK_SUCCESSFUL. + 2003-12-23 David Schleef * gst/elements/gstaggregator.c: diff --git a/gst/autoplug/gstspideridentity.c b/gst/autoplug/gstspideridentity.c index cb4b5de015..e43677774a 100644 --- a/gst/autoplug/gstspideridentity.c +++ b/gst/autoplug/gstspideridentity.c @@ -519,7 +519,7 @@ end: plug: GST_INFO ("typefind function found caps"); ident->caps = find.caps; - g_assert (gst_pad_try_set_caps (ident->src, find.caps) > 0); + g_assert (GST_PAD_LINK_SUCCESSFUL (gst_pad_try_set_caps (ident->src, find.caps))); { gchar *str = gst_caps_to_string (find.caps); GST_LOG_OBJECT (ident, "spider starting caps: %s", str);