mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
qtmux: init debug category before using it
This commit is contained in:
parent
868c706941
commit
0c97f9a9be
1 changed files with 2 additions and 2 deletions
|
@ -245,8 +245,6 @@ gst_qt_mux_class_init (GstQTMuxClass * klass)
|
||||||
GST_DEBUG_FUNCPTR (gst_qt_mux_request_new_pad);
|
GST_DEBUG_FUNCPTR (gst_qt_mux_request_new_pad);
|
||||||
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_qt_mux_change_state);
|
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_qt_mux_change_state);
|
||||||
gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_qt_mux_release_pad);
|
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
|
static void
|
||||||
|
@ -2742,6 +2740,8 @@ gst_qt_mux_register (GstPlugin * plugin)
|
||||||
GstQTMuxClassParams *params;
|
GstQTMuxClassParams *params;
|
||||||
guint i = 0;
|
guint i = 0;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (gst_qt_mux_debug, "qtmux", 0, "QT Muxer");
|
||||||
|
|
||||||
GST_LOG ("Registering muxers");
|
GST_LOG ("Registering muxers");
|
||||||
|
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
|
|
Loading…
Reference in a new issue