Use GST_PAD_LINK_SUCCESSFUL.

Original commit message from CVS:
Use GST_PAD_LINK_SUCCESSFUL.
This commit is contained in:
Colin Walters 2003-12-23 23:37:54 +00:00
parent 778c24a58a
commit fa4316c123
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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:

View file

@ -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);