some formatting and doc fixes, and make gstdebug output line up
authorAndy Wingo <wingo@pobox.com>
Wed, 16 Jul 2003 15:49:40 +0000 (15:49 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 16 Jul 2003 15:49:40 +0000 (15:49 +0000)
Original commit message from CVS:
some formatting and doc fixes, and make gstdebug output line up

gst/gstelement.c
gst/gstelementfactory.c
gst/gstinfo.c
gst/gstquery.h
gst/gstsystemclock.c

index 2a7fd8e..2429d40 100644 (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));
index 3a3a4df..f91c91c 100644 (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;
   }
 
index 1c94310..b4a6556 100644 (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,
index e8b6c01..e1a438a 100644 (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
index 99671f1..ef087be 100644 (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