Make the "could not find compatible pad' message more informative

Original commit message from CVS:
Make the "could not find compatible pad' message more informative
This commit is contained in:
Jan Schmidt 2004-01-06 16:28:43 +00:00
parent 74c1f385b0
commit baa7050fd2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-01-07 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
Make the 'Could not find compatible pad' message more informative.
2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstcaps.c: (gst_caps_append_structure):

View file

@ -1496,7 +1496,8 @@ gst_element_get_compatible_pad_filtered (GstElement *element, GstPad *pad,
if (foundpad) return foundpad;
//}
g_critical("could not find a compatible pad");
g_critical("Could not find a compatible pad on element %s to link to %s:%s",
GST_ELEMENT_NAME (element), GST_DEBUG_PAD_NAME (pad));
return NULL;
}