summaryrefslogtreecommitdiff
path: root/gst/mve
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /gst/mve
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/mve')
-rw-r--r--gst/mve/gstmvedemux.c12
-rw-r--r--gst/mve/gstmvemux.c10
2 files changed, 9 insertions, 13 deletions
diff --git a/gst/mve/gstmvedemux.c b/gst/mve/gstmvedemux.c
index 76acc2dbc..816dc543b 100644
--- a/gst/mve/gstmvedemux.c
+++ b/gst/mve/gstmvedemux.c
@@ -1089,12 +1089,7 @@ gst_mve_demux_dispose (GObject * obj)
static void
gst_mve_demux_base_init (GstMveDemuxClass * klass)
{
- static const GstElementDetails mve_demux_details = {
- "MVE Demuxer",
- "Codec/Demuxer",
- "Demultiplex an Interplay movie (MVE) stream into audio and video",
- "Jens Granseuer <jensgr@gmx.net>"
- };
+
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class,
@@ -1103,7 +1098,10 @@ gst_mve_demux_base_init (GstMveDemuxClass * klass)
gst_static_pad_template_get (&vidsrc_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&audsrc_template));
- gst_element_class_set_details (element_class, &mve_demux_details);
+ gst_element_class_set_details_simple (element_class, "MVE Demuxer",
+ "Codec/Demuxer",
+ "Demultiplex an Interplay movie (MVE) stream into audio and video",
+ "Jens Granseuer <jensgr@gmx.net>");
}
static void
diff --git a/gst/mve/gstmvemux.c b/gst/mve/gstmvemux.c
index 5282f8100..e54c4a153 100644
--- a/gst/mve/gstmvemux.c
+++ b/gst/mve/gstmvemux.c
@@ -1353,11 +1353,6 @@ gst_mve_mux_release_pad (GstElement * element, GstPad * pad)
static void
gst_mve_mux_base_init (GstMveMuxClass * klass)
{
- static const GstElementDetails gst_mve_mux_details =
- GST_ELEMENT_DETAILS ("MVE Multiplexer",
- "Codec/Muxer",
- "Muxes audio and video into an MVE stream",
- "Jens Granseuer <jensgr@gmx.net>");
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
@@ -1368,7 +1363,10 @@ gst_mve_mux_base_init (GstMveMuxClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&video_sink_factory));
- gst_element_class_set_details (element_class, &gst_mve_mux_details);
+ gst_element_class_set_details_simple (element_class, "MVE Multiplexer",
+ "Codec/Muxer",
+ "Muxes audio and video into an MVE stream",
+ "Jens Granseuer <jensgr@gmx.net>");
}
static void