diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:34:26 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:46:34 +0100 |
commit | 32ba17cd0f37d407ab810858f356de386c50b7b9 (patch) | |
tree | 794351ffb8e0c764d1896ee9a505b76616738719 /gst/autoconvert | |
parent | a7258842ab7a68514011298c1038cca5c6e1f9a5 (diff) | |
download | gstreamer-plugins-bad-32ba17cd0f37d407ab810858f356de386c50b7b9.tar.gz |
Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
Diffstat (limited to 'gst/autoconvert')
-rw-r--r-- | gst/autoconvert/gstautoconvert.c | 2 | ||||
-rw-r--r-- | gst/autoconvert/gstautovideoconvert.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/autoconvert/gstautoconvert.c b/gst/autoconvert/gstautoconvert.c index 5b11042a6..ae0170d5f 100644 --- a/gst/autoconvert/gstautoconvert.c +++ b/gst/autoconvert/gstautoconvert.c @@ -160,7 +160,7 @@ gst_auto_convert_class_init (GstAutoConvertClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Select convertor based on caps", "Generic/Bin", "Selects the right transform element based on the caps", "Olivier Crete <olivier.crete@collabora.com>"); diff --git a/gst/autoconvert/gstautovideoconvert.c b/gst/autoconvert/gstautovideoconvert.c index 84177ee9a..00dc15b3e 100644 --- a/gst/autoconvert/gstautovideoconvert.c +++ b/gst/autoconvert/gstautovideoconvert.c @@ -145,7 +145,7 @@ gst_auto_video_convert_class_init (GstAutoVideoConvertClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Select color space convertor based on caps", "Generic/Bin", "Selects the right color space convertor based on the caps", "Benjamin Gaignard <benjamin.gaignard@stericsson.com>"); |