summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpmp2tdepay.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/gstrtpmp2tdepay.c
parentbc1b65bee3e7b2af24567aac66961911ab003ecf (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/rtp/gstrtpmp2tdepay.c')
-rw-r--r--gst/rtp/gstrtpmp2tdepay.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gst/rtp/gstrtpmp2tdepay.c b/gst/rtp/gstrtpmp2tdepay.c
index 7fbb4b57f..c122d94a8 100644
--- a/gst/rtp/gstrtpmp2tdepay.c
+++ b/gst/rtp/gstrtpmp2tdepay.c
@@ -26,14 +26,6 @@
#include <string.h>
#include "gstrtpmp2tdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp2tdepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG Transport Stream depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG2 TS from RTP packets (RFC 2250)",
- "Wim Taymans <wim.taymans@gmail.com>\n"
- "Thijs Vermeir <thijs.vermeir@barco.com>");
-
/* RtpMP2TDepay signals and args */
enum
{
@@ -99,7 +91,11 @@ gst_rtp_mp2t_depay_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp2t_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp2tdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG Transport Stream depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG2 TS from RTP packets (RFC 2250)",
+ "Wim Taymans <wim.taymans@gmail.com>, "
+ "Thijs Vermeir <thijs.vermeir@barco.com>");
}
static void