Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
vorbis: fix debug category init
During the element splitting process,
the debug category initialization has
been dropped accidently.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1074>
  • Loading branch information
Stéphane Cerveau committed Mar 18, 2021
1 parent f25ceab commit 00a7111
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ext/vorbis/gstvorbiselement.c
Expand Up @@ -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);
}
}

0 comments on commit 00a7111

Please sign in to comment.