siren: init debug category before logging anything

This commit is contained in:
Tim-Philipp Müller 2012-09-13 00:59:33 +01:00
parent 98bfa4a1e0
commit 871f7e0450
2 changed files with 0 additions and 4 deletions

View file

@ -71,8 +71,6 @@ gst_siren_dec_class_init (GstSirenDecClass * klass)
GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstAudioDecoderClass *base_class = GST_AUDIO_DECODER_CLASS (klass); GstAudioDecoderClass *base_class = GST_AUDIO_DECODER_CLASS (klass);
GST_DEBUG ("Initializing Class");
GST_DEBUG_CATEGORY_INIT (sirendec_debug, "sirendec", 0, "sirendec"); GST_DEBUG_CATEGORY_INIT (sirendec_debug, "sirendec", 0, "sirendec");
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,

View file

@ -69,8 +69,6 @@ gst_siren_enc_class_init (GstSirenEncClass * klass)
GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstAudioEncoderClass *base_class = GST_AUDIO_ENCODER_CLASS (klass); GstAudioEncoderClass *base_class = GST_AUDIO_ENCODER_CLASS (klass);
GST_DEBUG ("Initializing Class");
GST_DEBUG_CATEGORY_INIT (sirenenc_debug, "sirenenc", 0, "sirenenc"); GST_DEBUG_CATEGORY_INIT (sirenenc_debug, "sirenenc", 0, "sirenenc");
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,