summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/matroska/matroska-demux.c10
-rw-r--r--gst/matroska/matroska-mux.c6
3 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d269b64b..fb3fbad4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* ext/libpng/Makefile.am:
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index ae670c68..07726444 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -33,6 +33,9 @@
#include "matroska-demux.h"
#include "matroska-ids.h"
+GST_DEBUG_CATEGORY (matroskademux_debug);
+#define GST_CAT_DEFAULT matroskademux_debug
+
enum
{
/* FILL ME */
@@ -159,6 +162,9 @@ gst_matroska_demux_class_init (GstMatroskaDemuxClass * klass)
gstelement_class->change_state = gst_matroska_demux_change_state;
gstelement_class->send_event = gst_matroska_demux_send_event;
gstelement_class->set_clock = gst_matroska_demux_set_clock;
+
+ GST_DEBUG_CATEGORY_INIT (matroskademux_debug, "matroskademux", 0,
+ "Matroska demuxer");
}
static void
@@ -453,6 +459,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break;
}
videocontext->display_width = num;
+ GST_DEBUG ("display_width %" G_GUINT64_FORMAT, num);
break;
}
@@ -465,6 +472,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break;
}
videocontext->display_height = num;
+ GST_DEBUG ("display_height %" G_GUINT64_FORMAT, num);
break;
}
@@ -477,6 +485,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break;
}
videocontext->pixel_width = num;
+ GST_DEBUG ("pixel_width %" G_GUINT64_FORMAT, num);
break;
}
@@ -489,6 +498,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux)
break;
}
videocontext->pixel_height = num;
+ GST_DEBUG ("pixel_height %" G_GUINT64_FORMAT, num);
break;
}
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index f9ea3b77..736a9aa6 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -29,6 +29,9 @@
#include "matroska-mux.h"
#include "matroska-ids.h"
+GST_DEBUG_CATEGORY (matroskamux_debug);
+#define GST_CAT_DEFAULT matroskamux_debug
+
enum
{
/* FILL ME */
@@ -204,6 +207,9 @@ gst_matroska_mux_class_init (GstMatroskaMuxClass * klass)
gstelement_class->change_state = gst_matroska_mux_change_state;
gstelement_class->request_new_pad = gst_matroska_mux_request_new_pad;
+
+ GST_DEBUG_CATEGORY_INIT (matroskamux_debug, "matroskamux", 0,
+ "Matroska muxer");
}
static void