summaryrefslogtreecommitdiff
path: root/gst/qtmux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-03-25 00:20:54 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-03-25 00:20:54 +0000
commit0c97f9a9be865b6520fdbbca950423def86b31b9 (patch)
tree2f5d582585ce83e6a39923523ac31cd0b1af4034 /gst/qtmux
parent868c7069415fa51646c2847f312412e77d2517b1 (diff)
downloadgstreamer-plugins-bad-0c97f9a9be865b6520fdbbca950423def86b31b9.tar.gz
qtmux: init debug category before using it
Diffstat (limited to 'gst/qtmux')
-rw-r--r--gst/qtmux/gstqtmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c
index 9e00957c1..5744e19ff 100644
--- a/gst/qtmux/gstqtmux.c
+++ b/gst/qtmux/gstqtmux.c
@@ -245,8 +245,6 @@ gst_qt_mux_class_init (GstQTMuxClass * klass)
GST_DEBUG_FUNCPTR (gst_qt_mux_request_new_pad);
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_qt_mux_change_state);
gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_qt_mux_release_pad);
-
- GST_DEBUG_CATEGORY_INIT (gst_qt_mux_debug, "qtmux", 0, "QT Muxer");
}
static void
@@ -2742,6 +2740,8 @@ gst_qt_mux_register (GstPlugin * plugin)
GstQTMuxClassParams *params;
guint i = 0;
+ GST_DEBUG_CATEGORY_INIT (gst_qt_mux_debug, "qtmux", 0, "QT Muxer");
+
GST_LOG ("Registering muxers");
while (TRUE) {