diff --git a/gst/gstbin.c b/gst/gstbin.c index cc3902737c..550b7d68fb 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -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 ," diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c index c15f0034d4..f92b5c34fd 100644 --- a/gst/gstpipeline.c +++ b/gst/gstpipeline.c @@ -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 , Wim Taymans ");