mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
bin, pipeline: use gst_element_class_set_static_metadata()
So the strings aren't copied.
This commit is contained in:
parent
1c4fe1bf1a
commit
28604c197b
2 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ gst_bin_class_init (GstBinClass * klass)
|
||||||
|
|
||||||
gobject_class->dispose = gst_bin_dispose;
|
gobject_class->dispose = gst_bin_dispose;
|
||||||
|
|
||||||
gst_element_class_set_metadata (gstelement_class, "Generic bin",
|
gst_element_class_set_static_metadata (gstelement_class, "Generic bin",
|
||||||
"Generic/Bin",
|
"Generic/Bin",
|
||||||
"Simple container object",
|
"Simple container object",
|
||||||
"Erik Walthinsen <omega@cse.ogi.edu>,"
|
"Erik Walthinsen <omega@cse.ogi.edu>,"
|
||||||
|
|
|
@ -182,7 +182,7 @@ gst_pipeline_class_init (GstPipelineClass * klass)
|
||||||
|
|
||||||
gobject_class->dispose = gst_pipeline_dispose;
|
gobject_class->dispose = gst_pipeline_dispose;
|
||||||
|
|
||||||
gst_element_class_set_metadata (gstelement_class, "Pipeline object",
|
gst_element_class_set_static_metadata (gstelement_class, "Pipeline object",
|
||||||
"Generic/Bin",
|
"Generic/Bin",
|
||||||
"Complete pipeline object",
|
"Complete pipeline object",
|
||||||
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");
|
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");
|
||||||
|
|
Loading…
Reference in a new issue