From 3b1931a03929094093ce0daecf8d544a490f4b01 Mon Sep 17 00:00:00 2001 From: Andrzej Bieniek Date: Wed, 31 Oct 2012 16:17:48 +0000 Subject: [PATCH] gstpay: add debug Conflicts: gst/rtp/gstrtpgstpay.c --- gst/rtp/gstrtpgstpay.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c index 86e7afa20c..e0d4b0e1af 100644 --- a/gst/rtp/gstrtpgstpay.c +++ b/gst/rtp/gstrtpgstpay.c @@ -27,6 +27,9 @@ #include "gstrtpgstpay.h" +GST_DEBUG_CATEGORY_STATIC (gst_rtp_pay_debug); +#define GST_CAT_DEFAULT gst_rtp_pay_debug + /* * 0 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 @@ -94,6 +97,9 @@ gst_rtp_gst_pay_class_init (GstRtpGSTPayClass * klass) gstrtpbasepayload_class->set_caps = gst_rtp_gst_pay_setcaps; gstrtpbasepayload_class->handle_buffer = gst_rtp_gst_pay_handle_buffer; + + GST_DEBUG_CATEGORY_INIT (gst_rtp_pay_debug, "rtpgstpay", 0, + "rtpgstpay element"); } static void