From 32ba17cd0f37d407ab810858f356de386c50b7b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 17 Oct 2012 17:34:26 +0100 Subject: 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. --- gst/dvdspu/gstdvdspu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/dvdspu') diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index b64cbd3a7..7af060897 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -147,8 +147,8 @@ gst_dvd_spu_class_init (GstDVDSpuClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&subpic_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Sub-picture Overlay", - "Mixer/Video/Overlay/SubPicture/DVD/Bluray", + gst_element_class_set_static_metadata (gstelement_class, + "Sub-picture Overlay", "Mixer/Video/Overlay/SubPicture/DVD/Bluray", "Parses Sub-Picture command streams and renders the SPU overlay " "onto the video as it passes through", "Jan Schmidt "); -- cgit v1.2.1