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/gaudieffects | |
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/gaudieffects')
-rw-r--r-- | gst/gaudieffects/gstburn.c | 2 | ||||
-rw-r--r-- | gst/gaudieffects/gstchromium.c | 2 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 2 | ||||
-rw-r--r-- | gst/gaudieffects/gstdodge.c | 2 | ||||
-rw-r--r-- | gst/gaudieffects/gstexclusion.c | 2 | ||||
-rw-r--r-- | gst/gaudieffects/gstgaussblur.c | 2 | ||||
-rw-r--r-- | gst/gaudieffects/gstsolarize.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index 4fa8e1add..d8cb35aeb 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -134,7 +134,7 @@ gst_burn_class_init (GstBurnClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, "Burn", + gst_element_class_set_static_metadata (gstelement_class, "Burn", "Filter/Effect/Video", "Burn adjusts the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index b4f217761..0aba0eae2 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -148,7 +148,7 @@ gst_chromium_class_init (GstChromiumClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, "Chromium", + gst_element_class_set_static_metadata (gstelement_class, "Chromium", "Filter/Effect/Video", "Chromium breaks the colors of the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 090df1750..ab827b47b 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -135,7 +135,7 @@ gst_dilate_class_init (GstDilateClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Dilate", "Filter/Effect/Video", "Dilate copies the brightest pixel around.", diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index 3a5b9f0e9..6847c3337 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -130,7 +130,7 @@ gst_dodge_class_init (GstDodgeClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Dodge", "Filter/Effect/Video", "Dodge saturates the colors in the video signal.", diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index f3c670ef5..d2b8330c4 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -136,7 +136,7 @@ gst_exclusion_class_init (GstExclusionClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, "Exclusion", + gst_element_class_set_static_metadata (gstelement_class, "Exclusion", "Filter/Effect/Video", "Exclusion exclodes the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); diff --git a/gst/gaudieffects/gstgaussblur.c b/gst/gaudieffects/gstgaussblur.c index a0f8b5bd8..34b8dbe24 100644 --- a/gst/gaudieffects/gstgaussblur.c +++ b/gst/gaudieffects/gstgaussblur.c @@ -132,7 +132,7 @@ gst_gaussianblur_class_init (GstGaussianBlurClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "GstGaussianBlur", "Filter/Effect/Video", "Perform Gaussian blur/sharpen on a video", diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index 561fc4c3b..26e53ae34 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -138,7 +138,7 @@ gst_solarize_class_init (GstSolarizeClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Solarize", "Filter/Effect/Video", "Solarize tunable inverse in the video signal.", |