diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-07-18 15:58:04 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-07-18 15:58:04 +0000 |
commit | 74eafb859545eb11b1b2f49aef3a1b2c13eb8e2f (patch) | |
tree | b18876ca6e8b2afdf9ba7b4350af79ee9f0c3b07 /gst | |
parent | 5c4078eb481d32c2c0f8d1fd3758482494830bcc (diff) |
add debug categories to matroska
Original commit message from CVS:
add debug categories to matroska
Diffstat (limited to 'gst')
-rw-r--r-- | gst/matroska/matroska-demux.c | 10 | ||||
-rw-r--r-- | gst/matroska/matroska-mux.c | 6 |
2 files changed, 16 insertions, 0 deletions
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 |