mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
kate: Initialize debug categories
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2258>
This commit is contained in:
parent
d09aae68a5
commit
28bd479ea2
5 changed files with 10 additions and 10 deletions
|
@ -122,8 +122,8 @@ G_DEFINE_TYPE (GstKateDec, gst_kate_dec, GST_TYPE_ELEMENT);
|
|||
#define _do_init \
|
||||
kate_element_init (plugin); \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_katedec_debug, "katedec", 0, "Kate decoder");
|
||||
GST_ELEMENT_REGISTER_DEFINE (katedec, "katedec", GST_RANK_PRIMARY,
|
||||
GST_TYPE_KATE_DEC);
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (katedec, "katedec", GST_RANK_PRIMARY,
|
||||
GST_TYPE_KATE_DEC, _do_init);
|
||||
|
||||
static void gst_kate_dec_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
|
|
|
@ -152,8 +152,8 @@ G_DEFINE_TYPE_WITH_CODE (GstKateEnc, gst_kate_enc, GST_TYPE_ELEMENT,
|
|||
#define _do_init \
|
||||
kate_element_init (plugin); \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_kateenc_debug, "kateenc", 0, "Kate encoder");
|
||||
GST_ELEMENT_REGISTER_DEFINE (kateenc, "kateenc", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_ENC);
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (kateenc, "kateenc", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_ENC, _do_init);
|
||||
|
||||
/* initialize the plugin's class */
|
||||
static void
|
||||
|
|
|
@ -85,8 +85,8 @@ G_DEFINE_TYPE (GstKateParse, gst_kate_parse, GST_TYPE_ELEMENT);
|
|||
#define _do_init \
|
||||
kate_element_init (plugin); \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_kateparse_debug, "kateparse", 0, "Kate parser");
|
||||
GST_ELEMENT_REGISTER_DEFINE (kateparse, "kateparse", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_PARSE);
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (kateparse, "kateparse", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_PARSE, _do_init);
|
||||
|
||||
static GstFlowReturn gst_kate_parse_chain (GstPad * pad, GstObject * parent,
|
||||
GstBuffer * buffer);
|
||||
|
|
|
@ -100,8 +100,8 @@ G_DEFINE_TYPE_WITH_CODE (GstKateTag, gst_kate_tag, GST_TYPE_KATE_PARSE,
|
|||
#define _do_init \
|
||||
kate_element_init (plugin); \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_katetag_debug, "katetag", 0, "Kate tagger");
|
||||
GST_ELEMENT_REGISTER_DEFINE (katetag, "katetag", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_TAG);
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (katetag, "katetag", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_TAG, _do_init);
|
||||
|
||||
static void
|
||||
gst_kate_tag_class_init (GstKateTagClass * klass)
|
||||
|
|
|
@ -181,8 +181,8 @@ GST_BOILERPLATE (GstKateTiger, gst_kate_tiger, GstElement, GST_TYPE_ELEMENT);
|
|||
kate_element_init (plugin); \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_katetiger_debug, "tiger", 0, \
|
||||
"Kate Tiger renderer");
|
||||
GST_ELEMENT_REGISTER_DEFINE (tiger, "tiger", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_TIGER);
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (tiger, "tiger", GST_RANK_NONE,
|
||||
GST_TYPE_KATE_TIGER, _do_init);
|
||||
|
||||
static GType
|
||||
gst_kate_tiger_font_effect_get_type (void)
|
||||
|
|
Loading…
Reference in a new issue