add debug categories to matroska

Original commit message from CVS:
add debug categories to matroska
This commit is contained in:
Thomas Vander Stichele 2004-07-18 15:58:04 +00:00
parent 5c4078eb48
commit 74eafb8595
3 changed files with 23 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-07-18 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_add_stream):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init):
add debug categories
2004-07-16 Wim Taymans <wim@fluendo.com> 2004-07-16 Wim Taymans <wim@fluendo.com>
* ext/libpng/Makefile.am: * ext/libpng/Makefile.am:

View file

@ -33,6 +33,9 @@
#include "matroska-demux.h" #include "matroska-demux.h"
#include "matroska-ids.h" #include "matroska-ids.h"
GST_DEBUG_CATEGORY (matroskademux_debug);
#define GST_CAT_DEFAULT matroskademux_debug
enum enum
{ {
/* FILL ME */ /* FILL ME */
@ -159,6 +162,9 @@ gst_matroska_demux_class_init (GstMatroskaDemuxClass * klass)
gstelement_class->change_state = gst_matroska_demux_change_state; gstelement_class->change_state = gst_matroska_demux_change_state;
gstelement_class->send_event = gst_matroska_demux_send_event; gstelement_class->send_event = gst_matroska_demux_send_event;
gstelement_class->set_clock = gst_matroska_demux_set_clock; gstelement_class->set_clock = gst_matroska_demux_set_clock;
GST_DEBUG_CATEGORY_INIT (matroskademux_debug, "matroskademux", 0,
"Matroska demuxer");
} }
static void static void
@ -453,6 +459,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break; break;
} }
videocontext->display_width = num; videocontext->display_width = num;
GST_DEBUG ("display_width %" G_GUINT64_FORMAT, num);
break; break;
} }
@ -465,6 +472,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break; break;
} }
videocontext->display_height = num; videocontext->display_height = num;
GST_DEBUG ("display_height %" G_GUINT64_FORMAT, num);
break; break;
} }
@ -477,6 +485,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break; break;
} }
videocontext->pixel_width = num; videocontext->pixel_width = num;
GST_DEBUG ("pixel_width %" G_GUINT64_FORMAT, num);
break; break;
} }
@ -489,6 +498,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break; break;
} }
videocontext->pixel_height = num; videocontext->pixel_height = num;
GST_DEBUG ("pixel_height %" G_GUINT64_FORMAT, num);
break; break;
} }

View file

@ -29,6 +29,9 @@
#include "matroska-mux.h" #include "matroska-mux.h"
#include "matroska-ids.h" #include "matroska-ids.h"
GST_DEBUG_CATEGORY (matroskamux_debug);
#define GST_CAT_DEFAULT matroskamux_debug
enum enum
{ {
/* FILL ME */ /* FILL ME */
@ -204,6 +207,9 @@ gst_matroska_mux_class_init (GstMatroskaMuxClass * klass)
gstelement_class->change_state = gst_matroska_mux_change_state; gstelement_class->change_state = gst_matroska_mux_change_state;
gstelement_class->request_new_pad = gst_matroska_mux_request_new_pad; gstelement_class->request_new_pad = gst_matroska_mux_request_new_pad;
GST_DEBUG_CATEGORY_INIT (matroskamux_debug, "matroskamux", 0,
"Matroska muxer");
} }
static void static void