rtpmux: Use gst_element_class_set_static_metadata()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 17 Oct 2012 16:34:26 +0000 (17:34 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:36:39 +0000 (16:36 +0000)
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.

gst/rtpmanager/gstrtpdtmfmux.c
gst/rtpmanager/gstrtpmux.c

index b320dd9..70af809 100644 (file)
@@ -87,7 +87,7 @@ gst_rtp_dtmf_mux_class_init (GstRTPDTMFMuxClass * klass)
   gst_element_class_add_pad_template (gstelement_class,
       gst_static_pad_template_get (&priority_sink_factory));
 
-  gst_element_class_set_metadata (gstelement_class, "RTP muxer",
+  gst_element_class_set_static_metadata (gstelement_class, "RTP muxer",
       "Codec/Muxer",
       "mixes RTP DTMF streams into other RTP streams",
       "Zeeshan Ali <first.last@nokia.com>");
index c68fe52..286ddc6 100644 (file)
@@ -132,7 +132,7 @@ gst_rtp_mux_class_init (GstRTPMuxClass * klass)
   gst_element_class_add_pad_template (gstelement_class,
       gst_static_pad_template_get (&sink_factory));
 
-  gst_element_class_set_metadata (gstelement_class, "RTP muxer",
+  gst_element_class_set_static_metadata (gstelement_class, "RTP muxer",
       "Codec/Muxer",
       "multiplex N rtp streams into one", "Zeeshan Ali <first.last@nokia.com>");