rtpmux: 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.
This commit is contained in:
Tim-Philipp Müller 2012-10-17 17:34:26 +01:00 committed by Tim-Philipp Müller
parent 15dfdc58d4
commit 2778a1757f
2 changed files with 2 additions and 2 deletions

View 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>");

View 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>");