mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
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:
parent
ff57e00592
commit
73f2d45295
5 changed files with 10 additions and 10 deletions
|
@ -1409,9 +1409,9 @@ gst_element_get_compatible_pad (GstElement *element, GstPad *pad)
|
||||||
/**
|
/**
|
||||||
* gst_element_link_pads_filtered:
|
* gst_element_link_pads_filtered:
|
||||||
* @src: a #GstElement containing the source pad.
|
* @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.
|
* @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.
|
* @filtercaps: the #GstCaps to use as a filter.
|
||||||
*
|
*
|
||||||
* Links the two named pads of the source and destination elements.
|
* 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) &&
|
if ((GST_RPAD_DIRECTION (srcpad) == GST_PAD_SRC) &&
|
||||||
(GST_PAD_PEER (srcpad) == NULL)) {
|
(GST_PAD_PEER (srcpad) == NULL)) {
|
||||||
GstPad *temp = gst_element_get_compatible_pad_filtered (dest, srcpad,
|
GstPad *temp = gst_element_get_compatible_pad_filtered (dest, srcpad,
|
||||||
filtercaps);
|
filtercaps);
|
||||||
if (temp && gst_pad_link_filtered (srcpad, temp, 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_CAT_DEBUG (GST_CAT_ELEMENT_PADS, "linked pad %s:%s to pad %s:%s",
|
||||||
GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (temp));
|
GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (temp));
|
||||||
|
|
|
@ -240,7 +240,7 @@ gst_element_factory_create (GstElementFactory *factory,
|
||||||
/* copy pad template pointers to the element class,
|
/* copy pad template pointers to the element class,
|
||||||
* allow for custom padtemplates */
|
* allow for custom padtemplates */
|
||||||
oclass->padtemplates = g_list_concat (oclass->padtemplates,
|
oclass->padtemplates = g_list_concat (oclass->padtemplates,
|
||||||
g_list_copy (factory->padtemplates));
|
g_list_copy (factory->padtemplates));
|
||||||
oclass->numpadtemplates += factory->numpadtemplates;
|
oclass->numpadtemplates += factory->numpadtemplates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -379,14 +379,14 @@ gst_debug_log_default (GstDebugCategory *category, GstDebugLevel level,
|
||||||
if (object == NULL) {
|
if (object == NULL) {
|
||||||
obj = g_strdup ("");
|
obj = g_strdup ("");
|
||||||
} else if (GST_IS_PAD (object) && GST_OBJECT_NAME (object)) {
|
} 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)) {
|
} 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 {
|
} 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),
|
gst_debug_level_get_name (level),
|
||||||
color, gst_debug_category_get_name (category), clear,
|
color, gst_debug_category_get_name (category), clear,
|
||||||
pidcolor, pid, clear,
|
pidcolor, pid, clear,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||||
* 2000 Wim Taymans <wim.taymans@chello.be>
|
* 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||||
* 2000 Wim Taymans <wim.taymans@chello.be>
|
* 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
|
|
Loading…
Reference in a new issue