diff options
Diffstat (limited to 'gst/selector')
-rw-r--r-- | gst/selector/gstinputselector.c | 14 | ||||
-rw-r--r-- | gst/selector/gstoutputselector.c | 11 |
2 files changed, 9 insertions, 16 deletions
diff --git a/gst/selector/gstinputselector.c b/gst/selector/gstinputselector.c index e5dc12b70..0670493c7 100644 --- a/gst/selector/gstinputselector.c +++ b/gst/selector/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/gst/selector/gstoutputselector.c b/gst/selector/gstoutputselector.c index e56cced5d..692cf50e4 100644 --- a/gst/selector/gstoutputselector.c +++ b/gst/selector/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, |