diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:34:26 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-02-17 14:58:00 +0000 |
commit | 17742d234797811dfcdfec54fb009c30799d2e9f (patch) | |
tree | 1488035fa3caf8e62c89f560d0f5c55827c604f6 | |
parent | 18638c9c4e8e199caf399f53e79c7e4c0693bc80 (diff) | |
download | gstreamer-plugins-good-17742d234797811dfcdfec54fb009c30799d2e9f.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.
-rw-r--r-- | gst/rtp/gstrtpopusdepay.c | 2 | ||||
-rw-r--r-- | gst/rtp/gstrtpopuspay.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpopusdepay.c b/gst/rtp/gstrtpopusdepay.c index dba1c1456..8d89e282a 100644 --- a/gst/rtp/gstrtpopusdepay.c +++ b/gst/rtp/gstrtpopusdepay.c @@ -70,7 +70,7 @@ gst_rtp_opus_depay_class_init (GstRTPOpusDepayClass * klass) gst_static_pad_template_get (&gst_rtp_opus_depay_src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_opus_depay_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "RTP Opus packet depayloader", "Codec/Depayloader/Network/RTP", "Extracts Opus audio from RTP packets", "Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>"); diff --git a/gst/rtp/gstrtpopuspay.c b/gst/rtp/gstrtpopuspay.c index e1781e1b0..cb3279c2a 100644 --- a/gst/rtp/gstrtpopuspay.c +++ b/gst/rtp/gstrtpopuspay.c @@ -75,7 +75,7 @@ gst_rtp_opus_pay_class_init (GstRtpOPUSPayClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_opus_pay_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "RTP Opus payloader", "Codec/Payloader/Network/RTP", "Puts Opus audio in RTP packets", |