summaryrefslogtreecommitdiff
path: root/gst/rawparse
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/rawparse
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/rawparse')
-rw-r--r--gst/rawparse/gstaudioparse.c2
-rw-r--r--gst/rawparse/gstvideoparse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/rawparse/gstaudioparse.c b/gst/rawparse/gstaudioparse.c
index 946529712..3ad2fb1d6 100644
--- a/gst/rawparse/gstaudioparse.c
+++ b/gst/rawparse/gstaudioparse.c
@@ -152,7 +152,7 @@ gst_audio_parse_class_init (GstAudioParseClass * klass)
"Use the sink caps for the format, only performing timestamping",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_element_class_set_metadata (gstelement_class, "Audio Parse",
+ gst_element_class_set_static_metadata (gstelement_class, "Audio Parse",
"Filter/Audio",
"Converts stream into audio frames",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
diff --git a/gst/rawparse/gstvideoparse.c b/gst/rawparse/gstvideoparse.c
index 73ccdbd00..152bda155 100644
--- a/gst/rawparse/gstvideoparse.c
+++ b/gst/rawparse/gstvideoparse.c
@@ -101,7 +101,7 @@ gst_video_parse_class_init (GstVideoParseClass * klass)
"True if top field is earlier than bottom field", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_element_class_set_metadata (gstelement_class, "Video Parse",
+ gst_element_class_set_static_metadata (gstelement_class, "Video Parse",
"Filter/Video",
"Converts stream into video frames",
"David Schleef <ds@schleef.org>, "