From: Stéphane Cerveau Date: Thu, 18 Mar 2021 14:58:01 +0000 (+0100) Subject: vorbis: fix debug category init X-Git-Tag: 1.19.3~511^2~214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00a71112c0d6c6895a5ad1d248fa31c3ec8c0667;p=platform%2Fupstream%2Fgstreamer.git vorbis: fix debug category init During the element splitting process, the debug category initialization has been dropped accidently. Part-of: --- diff --git a/ext/vorbis/gstvorbiselement.c b/ext/vorbis/gstvorbiselement.c index 1ff85a5..a99a265 100644 --- a/ext/vorbis/gstvorbiselement.c +++ b/ext/vorbis/gstvorbiselement.c @@ -38,6 +38,16 @@ vorbis_element_init (GstPlugin * plugin) if (g_once_init_enter (&res)) { gst_tag_register_musicbrainz_tags (); + + GST_DEBUG_CATEGORY_INIT (vorbisenc_debug, "vorbisenc", 0, + "vorbis encoding element"); + GST_DEBUG_CATEGORY_INIT (vorbisdec_debug, "vorbisdec", 0, + "vorbis decoding element"); + GST_DEBUG_CATEGORY_INIT (vorbisparse_debug, "vorbisparse", 0, + "vorbis parsing element"); + GST_DEBUG_CATEGORY_INIT (vorbistag_debug, "vorbistag", 0, + "vorbis tagging element"); + g_once_init_leave (&res, TRUE); } }