mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
theora: fix performance category initialisation
Remove unused _register() functions and look up the performance debug category in a function that's actually called at some point.
This commit is contained in:
parent
c0ef1ea553
commit
aade5515ac
4 changed files with 1 additions and 18 deletions
|
@ -192,6 +192,7 @@ gst_theora_dec_class_init (GstTheoraDecClass * klass)
|
|||
GST_DEBUG_FUNCPTR (theora_dec_decide_allocation);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (theoradec_debug, "theoradec", 0, "Theora decoder");
|
||||
GST_DEBUG_CATEGORY_GET (CAT_PERFORMANCE, "GST_PERFORMANCE");
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -993,12 +994,3 @@ theora_dec_get_property (GObject * object, guint prop_id,
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_theora_dec_register (GstPlugin * plugin)
|
||||
{
|
||||
GST_DEBUG_CATEGORY_GET (CAT_PERFORMANCE, "GST_PERFORMANCE");
|
||||
|
||||
return gst_element_register (plugin, "theoradec",
|
||||
GST_RANK_PRIMARY, GST_TYPE_THEORA_DEC);
|
||||
}
|
||||
|
|
|
@ -86,7 +86,6 @@ struct _GstTheoraDecClass
|
|||
};
|
||||
|
||||
GType gst_theora_dec_get_type (void);
|
||||
gboolean gst_theora_dec_register (GstPlugin * plugin);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -1199,10 +1199,3 @@ theora_enc_get_property (GObject * object, guint prop_id,
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_theora_enc_register (GstPlugin * plugin)
|
||||
{
|
||||
return gst_element_register (plugin, "theoraenc",
|
||||
GST_RANK_PRIMARY, GST_TYPE_THEORA_ENC);
|
||||
}
|
||||
|
|
|
@ -112,7 +112,6 @@ struct _GstTheoraEncClass
|
|||
};
|
||||
|
||||
GType gst_theora_enc_get_type (void);
|
||||
gboolean gst_theora_enc_register (GstPlugin * plugin);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue