bilboed gstreamer: gstreamer/ gstreamer/gst/

[email protected] Sat, 3 Jan 2009 10:17:08 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     bilboed
Date:           Sat Jan 03 2009  18:17:08 UTC

Log message:
* gst/gstindex.c: (gst_index_get_type):
Add a debugging category for GstIndex, first little step in making
indexing top-notch.

Modified files:
    .               : ChangeLog
    gst             : gstindex.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4209&r2=1.4210
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstindex.c.diff?r1=1.49&r2=1.50

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v
retrieving revision 1.4209
retrieving revision 1.4210
diff -u -d -r1.4209 -r1.4210
--- ChangeLog	3 Jan 2009 18:10:04 -0000	1.4209
+++ ChangeLog	3 Jan 2009 18:16:52 -0000	1.4210
@@ -1,5 +1,11 @@
 2009-01-03  Edward Hervey  <[email protected]>
 
+	* gst/gstindex.c: (gst_index_get_type):
+	Add a debugging category for GstIndex, first little step in making
+	indexing top-notch.
+
+2009-01-03  Edward Hervey  <[email protected]>
 	* gst/gstelement.c: (gst_element_message_full),
 	(gst_element_pads_activate):
 	* gst/gstobject.c: (gst_object_dispatch_properties_changed):
Index: gstindex.c
RCS file: /cvs/gstreamer/gstreamer/gst/gstindex.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- gstindex.c	7 Apr 2008 13:27:32 -0000	1.49
+++ gstindex.c	3 Jan 2009 18:16:54 -0000	1.50
@@ -39,6 +39,7 @@
 /* for constructing an entry name */
 #include "gstelement.h"
 #include "gstpad.h"
+#include "gstinfo.h"
 /* Index signals and args */
 enum
@@ -54,6 +55,9 @@
       /* FILL ME */
 };
+GST_DEBUG_CATEGORY_STATIC (index_debug);
+#define GST_CAT_DEFAULT index_debug
 static void gst_index_class_init (GstIndexClass * klass);
 static void gst_index_init (GstIndex * index);
 static void gst_index_finalize (GObject * object);
@@ -142,6 +146,9 @@
     index_type =
         g_type_register_static (GST_TYPE_OBJECT, "GstIndex", &index_info, 0);
+    GST_DEBUG_CATEGORY_INIT (index_debug, "GST_INDEX", GST_DEBUG_BOLD,
+        "Generic indexing support");
   }
   return index_type;
 }

------------------------------------------------------------------------------