mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
gst/gstindex.c: Add a debugging category for GstIndex, first little step in making indexing top-notch.
Original commit message from CVS: * gst/gstindex.c: (gst_index_get_type): Add a debugging category for GstIndex, first little step in making indexing top-notch.
This commit is contained in:
parent
334ad4c328
commit
ab1921ffc3
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* 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 <edward.hervey@collabora.co.uk>
|
||||
|
||||
* gst/gstelement.c: (gst_element_message_full),
|
||||
|
|
|
@ -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 @@ enum
|
|||
/* 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 @@ gst_index_get_type (void)
|
|||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue