summaryrefslogtreecommitdiff
path: root/gst/dtmf/gstrtpdtmfdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/dtmf/gstrtpdtmfdepay.c')
-rw-r--r--gst/dtmf/gstrtpdtmfdepay.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c
index 7cdfabfe7..9f5ae9278 100644
--- a/gst/dtmf/gstrtpdtmfdepay.c
+++ b/gst/dtmf/gstrtpdtmfdepay.c
@@ -164,13 +164,6 @@ enum
DTMF_KEY_EVENT_D = 15,
};
-/* elementfactory information */
-static const GstElementDetails gst_rtp_dtmfdepay_details =
-GST_ELEMENT_DETAILS ("RTP DTMF packet depayloader",
- "Codec/Depayloader/Network",
- "Generates DTMF Sound from telephone-event RTP packets",
- "Youness Alaoui <youness.alaoui@collabora.co.uk>");
-
GST_DEBUG_CATEGORY_STATIC (gst_rtp_dtmf_depay_debug);
#define GST_CAT_DEFAULT gst_rtp_dtmf_depay_debug
@@ -242,7 +235,10 @@ gst_rtp_dtmf_depay_base_init (gpointer klass)
GST_DEBUG_CATEGORY_INIT (gst_rtp_dtmf_depay_debug,
"rtpdtmfdepay", 0, "rtpdtmfdepay element");
- gst_element_class_set_details (element_class, &gst_rtp_dtmfdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP DTMF packet depayloader", "Codec/Depayloader/Network",
+ "Generates DTMF Sound from telephone-event RTP packets",
+ "Youness Alaoui <youness.alaoui@collabora.co.uk>");
}
static void