summaryrefslogtreecommitdiff
path: root/gst/jpegformat
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/jpegformat
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/jpegformat')
-rw-r--r--gst/jpegformat/gstjifmux.c2
-rw-r--r--gst/jpegformat/gstjpegparse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c
index d7a2de043..50bd30c9f 100644
--- a/gst/jpegformat/gstjifmux.c
+++ b/gst/jpegformat/gstjifmux.c
@@ -141,7 +141,7 @@ gst_jif_mux_class_init (GstJifMuxClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_jif_mux_sink_pad_template));
- gst_element_class_set_metadata (gstelement_class,
+ gst_element_class_set_static_metadata (gstelement_class,
"JPEG stream muxer",
"Video/Formatter",
"Remuxes JPEG images with markers and tags",
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c
index 0aae82d0e..fff0c5b9c 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -153,7 +153,7 @@ gst_jpeg_parse_class_init (GstJpegParseClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_jpeg_parse_sink_pad_template));
- gst_element_class_set_metadata (gstelement_class,
+ gst_element_class_set_static_metadata (gstelement_class,
"JPEG stream parser",
"Video/Parser",
"Parse JPEG images into single-frame buffers",