mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtpvp8: 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:
parent
bc7dbbbd4f
commit
44efab8e3d
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ gst_rtp_vp8_depay_class_init (GstRtpVP8DepayClass * gst_rtp_vp8_depay_class)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_rtp_vp8_depay_src_template));
|
||||
|
||||
gst_element_class_set_metadata (element_class, "RTP VP8 depayloader",
|
||||
gst_element_class_set_static_metadata (element_class, "RTP VP8 depayloader",
|
||||
"Codec/Depayloader/Network/RTP",
|
||||
"Extracts VP8 video from RTP packets)",
|
||||
"Sjoerd Simons <sjoerd@luon.net>");
|
||||
|
|
|
@ -82,7 +82,7 @@ gst_rtp_vp8_pay_class_init (GstRtpVP8PayClass * gst_rtp_vp8_pay_class)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_rtp_vp8_pay_src_template));
|
||||
|
||||
gst_element_class_set_metadata (element_class, "RTP VP8 payloader",
|
||||
gst_element_class_set_static_metadata (element_class, "RTP VP8 payloader",
|
||||
"Codec/Payloader/Network/RTP",
|
||||
"Puts VP8 video in RTP packets)", "Sjoerd Simons <sjoerd@luon.net>");
|
||||
|
||||
|
|
Loading…
Reference in a new issue