summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-12-31 00:54:04 +0000
commit0b37d8bf36b755a1f1c043d4986fca66af4e7ffd (patch)
treecbc60cc9bb5a48b5da021769531aeb0cd3c9110b
parent9d21103d42fa048e6874ed543a89d0dcbc9f2004 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
-rw-r--r--plugins/elements/gstinputselector.c14
-rw-r--r--plugins/elements/gstoutputselector.c11
2 files changed, 9 insertions, 16 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
index e5dc12b707..0670493c74 100644
--- a/plugins/elements/gstinputselector.c
+++ b/plugins/elements/gstinputselector.c
@@ -41,14 +41,6 @@
GST_DEBUG_CATEGORY_STATIC (input_selector_debug);
#define GST_CAT_DEFAULT input_selector_debug
-static const GstElementDetails gst_input_selector_details =
-GST_ELEMENT_DETAILS ("Input selector",
- "Generic",
- "N-to-1 input stream selectoring",
- "Julien Moutte <julien@moutte.net>\n"
- "Jan Schmidt <thaytan@mad.scientist.com>\n"
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_input_selector_sink_factory =
GST_STATIC_PAD_TEMPLATE ("sink%d",
GST_PAD_SINK,
@@ -746,7 +738,11 @@ gst_input_selector_base_init (GstInputSelectorClass * klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (element_class, &gst_input_selector_details);
+ gst_element_class_set_details_simple (element_class, "Input selector",
+ "Generic", "N-to-1 input stream selectoring",
+ "Julien Moutte <julien@moutte.net>, "
+ "Jan Schmidt <thaytan@mad.scientist.com>, "
+ "Wim Taymans <wim.taymans@gmail.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_input_selector_sink_factory));
gst_element_class_add_pad_template (element_class,
diff --git a/plugins/elements/gstoutputselector.c b/plugins/elements/gstoutputselector.c
index e56cced5da..692cf50e4f 100644
--- a/plugins/elements/gstoutputselector.c
+++ b/plugins/elements/gstoutputselector.c
@@ -35,12 +35,6 @@
GST_DEBUG_CATEGORY_STATIC (output_selector_debug);
#define GST_CAT_DEFAULT output_selector_debug
-static const GstElementDetails gst_output_selector_details =
-GST_ELEMENT_DETAILS ("Output selector",
- "Generic",
- "1-to-N output stream selectoring",
- "Stefan Kost <stefan.kost@nokia.com>");
-
static GstStaticPadTemplate gst_output_selector_sink_factory =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@@ -86,7 +80,10 @@ gst_output_selector_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_output_selector_details);
+ gst_element_class_set_details_simple (element_class, "Output selector",
+ "Generic",
+ "1-to-N output stream selectoring",
+ "Stefan Kost <stefan.kost@nokia.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_output_selector_sink_factory));
gst_element_class_add_pad_template (element_class,