Original commit message from CVS:
Use GST_PAD_LINK_SUCCESSFUL.
+2003-12-23 Colin Walters <walters@verbum.org>
+
+ * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
+ Use GST_PAD_LINK_SUCCESSFUL.
+
2003-12-23 David Schleef <ds@schleef.org>
* gst/elements/gstaggregator.c:
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);