From: Andy W. <wi...@us...> - 2003-07-16 15:49:53
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: wingo Date: Wed Jul 16 2003 08:49:52 PDT Log message: some formatting and doc fixes, and make gstdebug output line up Modified files: gst : gstelement.c gstelementfactory.c gstinfo.c gstquery.h gstsystemclock.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstelement.c.diff?r1=1.208&r2=1.209 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstelementfactory.c.diff?r1=1.82&r2=1.83 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstinfo.c.diff?r1=1.57&r2=1.58 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstquery.h.diff?r1=1.3&r2=1.4 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstsystemclock.c.diff?r1=1.15&r2=1.16 ====Begin Diffs==== Index: gstelement.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstelement.c,v retrieving revision 1.208 retrieving revision 1.209 diff -u -d -r1.208 -r1.209 --- gstelement.c 29 Jun 2003 14:05:42 -0000 1.208 +++ gstelement.c 16 Jul 2003 15:49:40 -0000 1.209 @@ -1409,9 +1409,9 @@ /** * 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 @@ 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: gstelementfactory.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstelementfactory.c,v retrieving revision 1.82 retrieving revision 1.83 diff -u -d -r1.82 -r1.83 --- gstelementfactory.c 8 Jul 2003 16:17:33 -0000 1.82 +++ gstelementfactory.c 16 Jul 2003 15:49:40 -0000 1.83 @@ -240,7 +240,7 @@ /* 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: gstinfo.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstinfo.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- gstinfo.c 29 Jun 2003 14:05:42 -0000 1.57 +++ gstinfo.c 16 Jul 2003 15:49:40 -0000 1.58 @@ -379,14 +379,14 @@ 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: gstquery.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstquery.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- gstquery.h 10 Feb 2003 20:16:36 -0000 1.3 +++ gstquery.h 16 Jul 2003 15:49:40 -0000 1.4 @@ -2,7 +2,7 @@ * Copyright (C) 1999,2000 Erik Walthinsen <om...@cs...> * 2000 Wim Taymans <wim...@ch...> * - * 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: gstsystemclock.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstsystemclock.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- gstsystemclock.c 29 Jun 2003 14:05:43 -0000 1.15 +++ gstsystemclock.c 16 Jul 2003 15:49:40 -0000 1.16 @@ -2,7 +2,7 @@ * Copyright (C) 1999,2000 Erik Walthinsen <om...@cs...> * 2000 Wim Taymans <wim...@ch...> * - * 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 |