/**
* 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.
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));
/* 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;
}
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,
* 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
* 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