adder: Do debug category initialization in plugin_init again

This commit is contained in:
Sebastian Dröge 2010-09-09 11:12:56 +02:00
parent 3c43dbfc51
commit 9b85b13d80

View file

@ -1291,6 +1291,9 @@ gst_adder_change_state (GstElement * element, GstStateChange transition)
static gboolean static gboolean
plugin_init (GstPlugin * plugin) plugin_init (GstPlugin * plugin)
{ {
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "adder", 0,
"audio channel mixing element");
gst_adder_orc_init (); gst_adder_orc_init ();
if (!gst_element_register (plugin, "adder", GST_RANK_NONE, GST_TYPE_ADDER)) { if (!gst_element_register (plugin, "adder", GST_RANK_NONE, GST_TYPE_ADDER)) {