mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
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:
parent
74c1f385b0
commit
baa7050fd2
2 changed files with 7 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue