gst/: Debugging tweaks.
authorAndy Wingo <wingo@pobox.com>
Fri, 20 Feb 2004 13:18:32 +0000 (13:18 +0000)
committerAndy Wingo <wingo@pobox.com>
Fri, 20 Feb 2004 13:18:32 +0000 (13:18 +0000)
commitcded585aa2203555e18e1c128f27539a0313c7e0
treef2385d4e1a850df03df505b14c8ee7dd06d2dbc5
parentee700ccc6591f7af691205c5e506898fa2132aa1
gst/: Debugging tweaks.

Original commit message from CVS:
2004-02-20  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.c:
* gst/gstbuffer.c:
* gst/gstplugin.c:
* gst/registries/gstxmlregistry.c:
* gst/schedulers/gstoptimalscheduler.c: Debugging tweaks.

* gst/gstelement.c (gst_element_set_scheduler): Debugging fixes.
(gst_element_add_pad): DEBUG->INFO, some fixes.
(gst_element_get_compatible_pad_template): Just see if the
templates' caps intersect, not if one is a strict subset of the
other. This conforms more to what gst_pad_link_intersect() does.
(gst_element_class_add_pad_template): Don't memcpy the pad
template, just ref it.
(gst_element_get_compatible_pad_filtered): Clean up debug messages

* gst/gstpad.c (gst_pad_can_link_filtered): Debug a true result.
(gst_pad_link_filtered): Debug changes.
(gst_pad_link_prepare): New function, consolidated from
can_link_filtered and link_filtered.

* gst/parse/grammar.y (gst_parse_perform_link): Made INFO output
look more like that of the functions in gstelement.c

* gst/gstinfo.c (gst_debug_print_object): Put a space before the
object, and return the empty string if object is NULL.

* gst/parse/parse.l: Remove trailing newlines when calling PRINT.
* gst/parse/grammar.y (YYFPRINTF): Log bison debugging info via
LOG, not DEBUG. We still get flex info on debug.

* gst/registries/gstxmlregistry.c (gst_xml_registry_load): Make
debug string more verbose.
(plugin_times_older_than): DEBUG->LOG.
14 files changed:
ChangeLog
gst/gstbin.c
gst/gstbuffer.c
gst/gstcaps.c
gst/gstdata.c
gst/gstelement.c
gst/gstelementfactory.c
gst/gstinfo.c
gst/gstpad.c
gst/gstplugin.c
gst/parse/grammar.y
gst/parse/parse.l
gst/registries/gstxmlregistry.c
gst/schedulers/gstoptimalscheduler.c