mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst_element_class_set_details => gst_element_class_set_details_simple
This commit is contained in:
parent
9d21103d42
commit
0b37d8bf36
2 changed files with 9 additions and 16 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue