bin, pipeline: use gst_element_class_set_static_metadata()

So the strings aren't copied.
This commit is contained in:
Tim-Philipp Müller 2012-10-17 16:49:19 +01:00
parent 1c4fe1bf1a
commit 28604c197b
2 changed files with 2 additions and 2 deletions

View file

@ -441,7 +441,7 @@ gst_bin_class_init (GstBinClass * klass)
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",
"Simple container object",
"Erik Walthinsen <omega@cse.ogi.edu>,"

View file

@ -182,7 +182,7 @@ gst_pipeline_class_init (GstPipelineClass * klass)
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",
"Complete pipeline object",
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");