summaryrefslogtreecommitdiff
path: root/gst/segmentclip
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/segmentclip
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/segmentclip')
-rw-r--r--gst/segmentclip/gstaudiosegmentclip.c2
-rw-r--r--gst/segmentclip/gstvideosegmentclip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/segmentclip/gstaudiosegmentclip.c b/gst/segmentclip/gstaudiosegmentclip.c
index b48b05811..7ace07a7b 100644
--- a/gst/segmentclip/gstaudiosegmentclip.c
+++ b/gst/segmentclip/gstaudiosegmentclip.c
@@ -61,7 +61,7 @@ gst_audio_segment_clip_class_init (GstAudioSegmentClipClass * klass)
segment_clip_klass->clip_buffer =
GST_DEBUG_FUNCPTR (gst_audio_segment_clip_clip_buffer);
- gst_element_class_set_metadata (element_class,
+ gst_element_class_set_static_metadata (element_class,
"Audio buffer segment clipper",
"Filter/Audio",
"Clips audio buffers to the configured segment",
diff --git a/gst/segmentclip/gstvideosegmentclip.c b/gst/segmentclip/gstvideosegmentclip.c
index 174da76f9..4cb846405 100644
--- a/gst/segmentclip/gstvideosegmentclip.c
+++ b/gst/segmentclip/gstvideosegmentclip.c
@@ -55,7 +55,7 @@ gst_video_segment_clip_class_init (GstVideoSegmentClipClass * klass)
GST_DEBUG_CATEGORY_INIT (gst_video_segment_clip_debug, "videosegmentclip", 0,
"videosegmentclip element");
- gst_element_class_set_metadata (element_class,
+ gst_element_class_set_static_metadata (element_class,
"Video buffer segment clipper",
"Filter/Video",
"Clips video buffers to the configured segment",