rtph263pdepay: init debug category
authorStian Selnes <stian.selnes@gmail.com>
Mon, 16 Jun 2014 14:14:28 +0000 (16:14 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 6 Jul 2015 10:35:04 +0000 (13:35 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=752012

gst/rtp/gstrtph263pdepay.c

index 7c69044..9fc95a8 100644 (file)
@@ -26,6 +26,9 @@
 #include <gst/rtp/gstrtpbuffer.h>
 #include "gstrtph263pdepay.h"
 
+GST_DEBUG_CATEGORY_STATIC (rtph263pdepay_debug);
+#define GST_CAT_DEFAULT (rtph263pdepay_debug)
+
 static GstStaticPadTemplate gst_rtp_h263p_depay_src_template =
 GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
@@ -117,6 +120,9 @@ gst_rtp_h263p_depay_class_init (GstRtpH263PDepayClass * klass)
 
   gstrtpbasedepayload_class->process = gst_rtp_h263p_depay_process;
   gstrtpbasedepayload_class->set_caps = gst_rtp_h263p_depay_setcaps;
+
+  GST_DEBUG_CATEGORY_INIT (rtph263pdepay_debug, "rtph263pdepay", 0,
+      "H263+ Video RTP Depayloader");
 }
 
 static void