Commit 74eafb85 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

add debug categories to matroska

Original commit message from CVS:
add debug categories to matroska
parent 5c4078eb
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:
......
......@@ -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;
}
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment