summaryrefslogtreecommitdiff
path: root/gst/debugutils
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-17 17:34:26 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-17 17:46:34 +0100
commit32ba17cd0f37d407ab810858f356de386c50b7b9 (patch)
tree794351ffb8e0c764d1896ee9a505b76616738719 /gst/debugutils
parenta7258842ab7a68514011298c1038cca5c6e1f9a5 (diff)
downloadgstreamer-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/debugutils')
-rw-r--r--gst/debugutils/fpsdisplaysink.c2
-rw-r--r--gst/debugutils/gstchecksumsink.c2
-rw-r--r--gst/debugutils/gstchopmydata.c2
-rw-r--r--gst/debugutils/gstcompare.c2
-rw-r--r--gst/debugutils/gstdebugspy.c2
5 files changed, 5 insertions, 5 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>");
diff --git a/gst/debugutils/gstchecksumsink.c b/gst/debugutils/gstchecksumsink.c
index bce8d4b4b..90528bf3b 100644
--- a/gst/debugutils/gstchecksumsink.c
+++ b/gst/debugutils/gstchecksumsink.c
@@ -68,7 +68,7 @@ gst_checksum_sink_class_init (GstChecksumSinkClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_checksum_sink_sink_template));
- gst_element_class_set_metadata (element_class, "Checksum sink",
+ gst_element_class_set_static_metadata (element_class, "Checksum sink",
"Debug/Sink", "Calculates a checksum for buffers",
"David Schleef <ds@schleef.org>");
}
diff --git a/gst/debugutils/gstchopmydata.c b/gst/debugutils/gstchopmydata.c
index d91c40821..739ea72a9 100644
--- a/gst/debugutils/gstchopmydata.c
+++ b/gst/debugutils/gstchopmydata.c
@@ -126,7 +126,7 @@ gst_chop_my_data_class_init (GstChopMyDataClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_chop_my_data_sink_template));
- gst_element_class_set_metadata (element_class, "FIXME",
+ gst_element_class_set_static_metadata (element_class, "FIXME",
"Generic", "FIXME", "David Schleef <ds@schleef.org>");
}
diff --git a/gst/debugutils/gstcompare.c b/gst/debugutils/gstcompare.c
index 2581a3ca2..a6f51a7a8 100644
--- a/gst/debugutils/gstcompare.c
+++ b/gst/debugutils/gstcompare.c
@@ -176,7 +176,7 @@ gst_compare_class_init (GstCompareClass * klass)
gst_static_pad_template_get (&sink_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&check_sink_factory));
- gst_element_class_set_metadata (gstelement_class, "Compare buffers",
+ gst_element_class_set_static_metadata (gstelement_class, "Compare buffers",
"Filter/Debug", "Compares incoming buffers",
"Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>");
}
diff --git a/gst/debugutils/gstdebugspy.c b/gst/debugutils/gstdebugspy.c
index 413853c25..21c1609e9 100644
--- a/gst/debugutils/gstdebugspy.c
+++ b/gst/debugutils/gstdebugspy.c
@@ -133,7 +133,7 @@ gst_debug_spy_class_init (GstDebugSpyClass * klass)
"Checksum algorithm to use", GST_DEBUG_SPY_CHECKSUM_TYPE,
G_CHECKSUM_SHA1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_element_class_set_metadata (element_class,
+ gst_element_class_set_static_metadata (element_class,
"DebugSpy",
"Filter/Analyzer/Debug",
"DebugSpy provides information on buffers with bus messages",