diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index ec753617e5..971cb7fd74 100644 --- a/plugins/elements/gstcapsfilter.c +++ b/plugins/elements/gstcapsfilter.c @@ -104,7 +104,7 @@ gst_capsfilter_class_init (GstCapsFilterClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); gstelement_class = GST_ELEMENT_CLASS (klass); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "CapsFilter", "Generic", "Pass data without modification, limiting formats", diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index ed08b97429..363fde9359 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -216,7 +216,7 @@ gst_fake_sink_class_init (GstFakeSinkClass * klass) NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Fake Sink", "Sink", "Black hole for data", diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index 04bb9ad1eb..c9b2c45cd9 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -337,7 +337,7 @@ gst_fake_src_class_init (GstFakeSrcClass * klass) g_cclosure_marshal_generic, G_TYPE_NONE, 2, GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Fake Source", "Source", "Push empty (no data) buffers around", diff --git a/plugins/elements/gstfdsink.c b/plugins/elements/gstfdsink.c index ae384fd9e9..7852561cdc 100644 --- a/plugins/elements/gstfdsink.c +++ b/plugins/elements/gstfdsink.c @@ -132,7 +132,7 @@ gst_fd_sink_class_init (GstFdSinkClass * klass) gobject_class->get_property = gst_fd_sink_get_property; gobject_class->dispose = gst_fd_sink_dispose; - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Filedescriptor Sink", "Sink/File", "Write data to a file descriptor", "Erik Walthinsen "); diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c index 65cbbbc15b..13c70bdd39 100644 --- a/plugins/elements/gstfdsrc.c +++ b/plugins/elements/gstfdsrc.c @@ -169,7 +169,7 @@ gst_fd_src_class_init (GstFdSrcClass * klass) G_MAXUINT64, DEFAULT_TIMEOUT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Filedescriptor Source", "Source/File", "Read from a file descriptor", "Erik Walthinsen "); diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c index 6888b39278..7b5218bf09 100644 --- a/plugins/elements/gstfilesink.c +++ b/plugins/elements/gstfilesink.c @@ -220,7 +220,7 @@ gst_file_sink_class_init (GstFileSinkClass * klass) "Append to an already existing file", DEFAULT_APPEND, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "File Sink", "Sink/File", "Write stream to a file", "Thomas Vander Stichele "); diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 46a58237dc..8f55d1fa9a 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -180,7 +180,7 @@ gst_file_src_class_init (GstFileSrcClass * klass) gobject_class->finalize = gst_file_src_finalize; - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "File Source", "Source/File", "Read from arbitrary point in a file", diff --git a/plugins/elements/gstfunnel.c b/plugins/elements/gstfunnel.c index 82229108b6..9a9f455442 100644 --- a/plugins/elements/gstfunnel.c +++ b/plugins/elements/gstfunnel.c @@ -152,7 +152,7 @@ gst_funnel_class_init (GstFunnelClass * klass) gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_funnel_dispose); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Funnel pipe fitting", "Generic", "N-to-1 pipe fitting", "Olivier Crete "); diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index f827f4f787..50afaecdf0 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -227,7 +227,7 @@ gst_identity_class_init (GstIdentityClass * klass) gobject_class->finalize = gst_identity_finalize; - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Identity", "Generic", "Pass data without modification", "Erik Walthinsen "); diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index 756b5edc8b..564e7212d6 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -838,7 +838,7 @@ gst_input_selector_class_init (GstInputSelectorClass * klass) G_STRUCT_OFFSET (GstInputSelectorClass, block), NULL, NULL, gst_input_selector_marshal_INT64__VOID, G_TYPE_INT64, 0); - gst_element_class_set_details_simple (gstelement_class, "Input selector", + gst_element_class_set_static_metadata (gstelement_class, "Input selector", "Generic", "N-to-1 input stream selector", "Julien Moutte , " "Jan Schmidt , " diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index ebfe4222d5..5342837015 100644 --- a/plugins/elements/gstmultiqueue.c +++ b/plugins/elements/gstmultiqueue.c @@ -417,7 +417,7 @@ gst_multi_queue_class_init (GstMultiQueueClass * klass) gobject_class->finalize = gst_multi_queue_finalize; - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "MultiQueue", "Generic", "Multiple data queue", "Edward Hervey "); gst_element_class_add_pad_template (gstelement_class, diff --git a/plugins/elements/gstoutputselector.c b/plugins/elements/gstoutputselector.c index ba30a4672c..04422adc94 100644 --- a/plugins/elements/gstoutputselector.c +++ b/plugins/elements/gstoutputselector.c @@ -139,7 +139,7 @@ gst_output_selector_class_init (GstOutputSelectorClass * klass) DEFAULT_PAD_NEGOTIATION_MODE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (gstelement_class, "Output selector", + gst_element_class_set_static_metadata (gstelement_class, "Output selector", "Generic", "1-to-N output stream selector", "Stefan Kost "); gst_element_class_add_pad_template (gstelement_class, diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index 191f577ab3..aa494be123 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -363,7 +363,7 @@ gst_queue_class_init (GstQueueClass * klass) gobject_class->finalize = gst_queue_finalize; - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Queue", "Generic", "Simple data queue", "Erik Walthinsen "); gst_element_class_add_pad_template (gstelement_class, diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c index c86113d147..3714575507 100644 --- a/plugins/elements/gstqueue2.c +++ b/plugins/elements/gstqueue2.c @@ -373,7 +373,7 @@ gst_queue2_class_init (GstQueue2Class * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_details_simple (gstelement_class, "Queue 2", + gst_element_class_set_static_metadata (gstelement_class, "Queue 2", "Generic", "Simple data queue", "Erik Walthinsen , " diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index c54bb8e45c..3cae77396a 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -232,7 +232,7 @@ gst_tee_class_init (GstTeeClass * klass) g_object_class_install_property (gobject_class, PROP_ALLOC_PAD, pspec_alloc_pad); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Tee pipe fitting", "Generic", "1-to-N pipe fitting", diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index e06745ee71..436a4e91c8 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -237,7 +237,7 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class) typefind_class->have_type = GST_DEBUG_FUNCPTR (gst_type_find_element_have_type); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "TypeFind", "Generic", "Finds the media type of a stream", diff --git a/plugins/elements/gstvalve.c b/plugins/elements/gstvalve.c index 987f7bfc4a..a69b785f7f 100644 --- a/plugins/elements/gstvalve.c +++ b/plugins/elements/gstvalve.c @@ -106,7 +106,7 @@ gst_valve_class_init (GstValveClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_details_simple (gstelement_class, "Valve element", + gst_element_class_set_static_metadata (gstelement_class, "Valve element", "Filter", "Drops buffers and events or lets them through", "Olivier Crete "); }