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/debugutils/fpsdisplaysink.c | |
parent | a7258842ab7a68514011298c1038cca5c6e1f9a5 (diff) |
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/debugutils/fpsdisplaysink.c')
-rw-r--r-- | gst/debugutils/fpsdisplaysink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index d3b009a30..4a435154c 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -207,7 +207,7 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass) gst_element_class_add_pad_template (gstelement_klass, gst_static_pad_template_get (&fps_display_sink_template)); - gst_element_class_set_metadata (gstelement_klass, + gst_element_class_set_static_metadata (gstelement_klass, "Measure and show framerate on videosink", "Sink/Video", "Shows the current frame-rate and drop-rate of the videosink as overlay or text on stdout", "Zeeshan Ali <zeeshan.ali@nokia.com>, Stefan Kost <stefan.kost@nokia.com>"); |