summaryrefslogtreecommitdiff
path: root/sys/uvch264/gstuvch264_mjpgdemux.c
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 /sys/uvch264/gstuvch264_mjpgdemux.c
parenta7258842ab7a68514011298c1038cca5c6e1f9a5 (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 'sys/uvch264/gstuvch264_mjpgdemux.c')
-rw-r--r--sys/uvch264/gstuvch264_mjpgdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c
index 880b44918..e194cdaba 100644
--- a/sys/uvch264/gstuvch264_mjpgdemux.c
+++ b/sys/uvch264/gstuvch264_mjpgdemux.c
@@ -200,7 +200,7 @@ gst_uvc_h264_mjpg_demux_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, pt);
gst_object_unref (pt);
- gst_element_class_set_metadata (element_class,
+ gst_element_class_set_static_metadata (element_class,
"UVC H264 MJPG Demuxer",
"Video/Demuxer",
"Demux UVC H264 auxiliary streams from MJPG images",