summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpmp4adepay.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 14:31:35 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 14:32:00 +0100
commitcccfeaa59c3447be82eea26e4ce66d95ae8c22db (patch)
tree5cf8b52dd0a04f0824f8f51d1f82a8f195d592ee /gst/rtp/gstrtpmp4adepay.c
parentbc1b65bee3e7b2af24567aac66961911ab003ecf (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/rtp/gstrtpmp4adepay.c')
-rw-r--r--gst/rtp/gstrtpmp4adepay.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gst/rtp/gstrtpmp4adepay.c b/gst/rtp/gstrtpmp4adepay.c
index 9713bdcc8..d85b15f4e 100644
--- a/gst/rtp/gstrtpmp4adepay.c
+++ b/gst/rtp/gstrtpmp4adepay.c
@@ -29,14 +29,6 @@
GST_DEBUG_CATEGORY_STATIC (rtpmp4adepay_debug);
#define GST_CAT_DEFAULT (rtpmp4adepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4adepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 audio depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG4 audio from RTP packets (RFC 3016)",
- "Nokia Corporation (contact <stefan.kost@nokia.com>), "
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp4a_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
@@ -87,7 +79,11 @@ gst_rtp_mp4a_depay_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4a_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4adepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG4 audio depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG4 audio from RTP packets (RFC 3016)",
+ "Nokia Corporation (contact <stefan.kost@nokia.com>), "
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void