summaryrefslogtreecommitdiff
path: root/gst/realmedia
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 15:53:14 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 15:53:14 +0100
commit9850bd814fcaba6bd044019ba72d937d12412ff6 (patch)
tree524026a6431f9cb8e2c6c2dff7da777283cbeb85 /gst/realmedia
parent43b366ce529b1813458be58d3f2b4ddf67faa2ab (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/realmedia')
-rw-r--r--gst/realmedia/pnmsrc.c12
-rw-r--r--gst/realmedia/rademux.c12
-rw-r--r--gst/realmedia/rdtdepay.c13
-rw-r--r--gst/realmedia/rdtmanager.c12
-rw-r--r--gst/realmedia/rmdemux.c12
-rw-r--r--gst/realmedia/rtspreal.c12
6 files changed, 25 insertions, 48 deletions
diff --git a/gst/realmedia/pnmsrc.c b/gst/realmedia/pnmsrc.c
index 6b6bef6b..d61781b1 100644
--- a/gst/realmedia/pnmsrc.c
+++ b/gst/realmedia/pnmsrc.c
@@ -28,13 +28,6 @@
GST_DEBUG_CATEGORY_STATIC (pnmsrc_debug);
#define GST_CAT_DEFAULT pnmsrc_debug
-/* elementfactory information */
-static const GstElementDetails gst_pnm_src_details =
-GST_ELEMENT_DETAILS ("PNM packet receiver",
- "Source/Network",
- "Receive data over the network via PNM",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* PNMSrc signals and args */
enum
{
@@ -95,7 +88,10 @@ gst_pnm_src_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_pnm_src_template));
- gst_element_class_set_details (element_class, &gst_pnm_src_details);
+ gst_element_class_set_details_simple (element_class, "PNM packet receiver",
+ "Source/Network",
+ "Receive data over the network via PNM",
+ "Wim Taymans <wim.taymans@gmail.com>");
GST_DEBUG_CATEGORY_INIT (pnmsrc_debug, "pnmsrc",
0, "Source for the pnm:// uri");
diff --git a/gst/realmedia/rademux.c b/gst/realmedia/rademux.c
index a067c533..4fc135bd 100644
--- a/gst/realmedia/rademux.c
+++ b/gst/realmedia/rademux.c
@@ -47,13 +47,6 @@
#include <string.h>
-static GstElementDetails real_audio_demux_details = {
- "RealAudio Demuxer",
- "Codec/Demuxer",
- "Demultiplex a RealAudio file",
- "Tim-Philipp Müller <tim centricular net>"
-};
-
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -93,7 +86,10 @@ gst_real_audio_demux_base_init (gpointer klass)
gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (element_class, &real_audio_demux_details);
+ gst_element_class_set_details_simple (element_class, "RealAudio Demuxer",
+ "Codec/Demuxer",
+ "Demultiplex a RealAudio file",
+ "Tim-Philipp Müller <tim centricular net>");
GST_DEBUG_CATEGORY_INIT (real_audio_demux_debug, "rademux",
0, "Demuxer for RealAudio streams");
diff --git a/gst/realmedia/rdtdepay.c b/gst/realmedia/rdtdepay.c
index 76793bc1..c3b679fc 100644
--- a/gst/realmedia/rdtdepay.c
+++ b/gst/realmedia/rdtdepay.c
@@ -30,13 +30,6 @@
GST_DEBUG_CATEGORY_STATIC (rdtdepay_debug);
#define GST_CAT_DEFAULT rdtdepay_debug
-/* elementfactory information */
-static const GstElementDetails gst_rdtdepay_details =
-GST_ELEMENT_DETAILS ("RDT packet parser",
- "Codec/Depayloader/Network",
- "Extracts RealMedia from RDT packets",
- "Lutz Mueller <lutz at topfrose dot de>, " "Wim Taymans <wim@fluendo.com>");
-
/* RDTDepay signals and args */
enum
{
@@ -92,7 +85,11 @@ gst_rdt_depay_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rdt_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rdtdepay_details);
+ gst_element_class_set_details_simple (element_class, "RDT packet parser",
+ "Codec/Depayloader/Network",
+ "Extracts RealMedia from RDT packets",
+ "Lutz Mueller <lutz at topfrose dot de>, "
+ "Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (rdtdepay_debug, "rdtdepay",
0, "Depayloader for RDT RealMedia packets");
diff --git a/gst/realmedia/rdtmanager.c b/gst/realmedia/rdtmanager.c
index b00181d2..88109157 100644
--- a/gst/realmedia/rdtmanager.c
+++ b/gst/realmedia/rdtmanager.c
@@ -61,13 +61,6 @@
GST_DEBUG_CATEGORY_STATIC (rdtmanager_debug);
#define GST_CAT_DEFAULT (rdtmanager_debug)
-/* elementfactory information */
-static const GstElementDetails rdtmanager_details =
-GST_ELEMENT_DETAILS ("RTP Decoder",
- "Codec/Parser/Network",
- "Accepts raw RTP and RTCP packets and sends them forward",
- "Wim Taymans <wim@fluendo.com>");
-
/* GstRDTManager signals and args */
enum
{
@@ -342,7 +335,10 @@ gst_rdt_manager_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rdt_manager_rtcp_src_template));
- gst_element_class_set_details (element_class, &rdtmanager_details);
+ gst_element_class_set_details_simple (element_class, "RTP Decoder",
+ "Codec/Parser/Network",
+ "Accepts raw RTP and RTCP packets and sends them forward",
+ "Wim Taymans <wim@fluendo.com>");
}
/* BOXED:UINT,UINT */
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c
index 08de6f54..37520a34 100644
--- a/gst/realmedia/rmdemux.c
+++ b/gst/realmedia/rmdemux.c
@@ -101,13 +101,6 @@ struct _GstRMDemuxIndex
GstClockTime timestamp;
};
-static GstElementDetails gst_rmdemux_details = {
- "RealMedia Demuxer",
- "Codec/Demuxer",
- "Demultiplex a RealMedia file into audio and video streams",
- "David Schleef <ds@schleef.org>"
-};
-
static GstStaticPadTemplate gst_rmdemux_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@@ -206,7 +199,10 @@ gst_rmdemux_base_init (GstRMDemuxClass * klass)
gst_static_pad_template_get (&gst_rmdemux_videosrc_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rmdemux_audiosrc_template));
- gst_element_class_set_details (element_class, &gst_rmdemux_details);
+ gst_element_class_set_details_simple (element_class, "RealMedia Demuxer",
+ "Codec/Demuxer",
+ "Demultiplex a RealMedia file into audio and video streams",
+ "David Schleef <ds@schleef.org>");
}
static void
diff --git a/gst/realmedia/rtspreal.c b/gst/realmedia/rtspreal.c
index 0b32b0cc..fb88c009 100644
--- a/gst/realmedia/rtspreal.c
+++ b/gst/realmedia/rtspreal.c
@@ -44,13 +44,6 @@
GST_DEBUG_CATEGORY_STATIC (rtspreal_debug);
#define GST_CAT_DEFAULT (rtspreal_debug)
-/* elementfactory information */
-static const GstElementDetails rtspreal_details =
-GST_ELEMENT_DETAILS ("RealMedia RTSP Extension",
- "Network/Extension/Protocol",
- "Extends RTSP so that it can handle RealMedia setup",
- "Wim Taymans <wim.taymans@gmail.com>");
-
#define SERVER_PREFIX "RealServer"
#define DEFAULT_BANDWIDTH "10485800"
@@ -693,7 +686,10 @@ gst_rtsp_real_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (element_class, &rtspreal_details);
+ gst_element_class_set_details_simple (element_class,
+ "RealMedia RTSP Extension", "Network/Extension/Protocol",
+ "Extends RTSP so that it can handle RealMedia setup",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void