some formatting and doc fixes, and make gstdebug output line up

Original commit message from CVS:
some formatting and doc fixes, and make gstdebug output line up
This commit is contained in:
Andy Wingo 2003-07-16 15:49:40 +00:00
parent ff57e00592
commit 73f2d45295
5 changed files with 10 additions and 10 deletions

View file

@ -1409,9 +1409,9 @@ gst_element_get_compatible_pad (GstElement *element, GstPad *pad)
/**
* gst_element_link_pads_filtered:
* @src: a #GstElement containing the source pad.
* @srcpadname: the name of the #GstPad in source element or NULL for any element.
* @srcpadname: the name of the #GstPad in source element or NULL for any pad.
* @dest: the #GstElement containing the destination pad.
* @destpadname: the name of the #GstPad in destination element or NULL for any element.
* @destpadname: the name of the #GstPad in destination element or NULL for any pad.
* @filtercaps: the #GstCaps to use as a filter.
*
* Links the two named pads of the source and destination elements.
@ -1494,7 +1494,7 @@ gst_element_link_pads_filtered (GstElement *src, const gchar *srcpadname,
if ((GST_RPAD_DIRECTION (srcpad) == GST_PAD_SRC) &&
(GST_PAD_PEER (srcpad) == NULL)) {
GstPad *temp = gst_element_get_compatible_pad_filtered (dest, srcpad,
filtercaps);
filtercaps);
if (temp && gst_pad_link_filtered (srcpad, temp, filtercaps)) {
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS, "linked pad %s:%s to pad %s:%s",
GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (temp));

View file

@ -240,7 +240,7 @@ gst_element_factory_create (GstElementFactory *factory,
/* copy pad template pointers to the element class,
* allow for custom padtemplates */
oclass->padtemplates = g_list_concat (oclass->padtemplates,
g_list_copy (factory->padtemplates));
g_list_copy (factory->padtemplates));
oclass->numpadtemplates += factory->numpadtemplates;
}

View file

@ -379,14 +379,14 @@ gst_debug_log_default (GstDebugCategory *category, GstDebugLevel level,
if (object == NULL) {
obj = g_strdup ("");
} else if (GST_IS_PAD (object) && GST_OBJECT_NAME (object)) {
obj = g_strdup_printf ("[%s:%s] ", GST_DEBUG_PAD_NAME (object));
obj = g_strdup_printf (" [%s:%s]", GST_DEBUG_PAD_NAME (object));
} else if (GST_IS_OBJECT (object) && GST_OBJECT_NAME (object)) {
obj = g_strdup_printf ("[%s] ", GST_OBJECT_NAME (object));
obj = g_strdup_printf (" [%s]", GST_OBJECT_NAME (object));
} else {
obj = g_strdup_printf ("[%s@%p] ", G_OBJECT_TYPE_NAME(object), object);
obj = g_strdup_printf (" [%s@%p]", G_OBJECT_TYPE_NAME(object), object);
}
g_printerr ("%s %s%s%s(%s%5d%s) %s%s(%d):%s: %s%s%s\n",
g_printerr ("%s %s%15s%s(%s%5d%s) %s%s(%d):%s:%s%s %s\n",
gst_debug_level_get_name (level),
color, gst_debug_category_get_name (category), clear,
pidcolor, pid, clear,

View file

@ -2,7 +2,7 @@
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2000 Wim Taymans <wim.taymans@chello.be>
*
* gstpad.h: Header for GstPad object
* gstquery.h: GstQuery API declaration
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public

View file

@ -2,7 +2,7 @@
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2000 Wim Taymans <wim.taymans@chello.be>
*
* gstclock.c: Clock subsystem for maintaining time sync
* gstsystemclock.c: Default clock, uses the system clock
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public