mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
This commit is contained in:
parent
d196562755
commit
ad261f64c3
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ gst_rtp_opus_depay_class_init (GstRTPOpusDepayClass * klass)
|
||||||
gst_static_pad_template_get (&gst_rtp_opus_depay_src_template));
|
gst_static_pad_template_get (&gst_rtp_opus_depay_src_template));
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&gst_rtp_opus_depay_sink_template));
|
gst_static_pad_template_get (&gst_rtp_opus_depay_sink_template));
|
||||||
gst_element_class_set_details_simple (element_class,
|
gst_element_class_set_metadata (element_class,
|
||||||
"RTP Opus packet depayloader", "Codec/Depayloader/Network/RTP",
|
"RTP Opus packet depayloader", "Codec/Depayloader/Network/RTP",
|
||||||
"Extracts Opus audio from RTP packets",
|
"Extracts Opus audio from RTP packets",
|
||||||
"Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>");
|
"Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>");
|
||||||
|
|
|
@ -75,7 +75,7 @@ gst_rtp_opus_pay_class_init (GstRtpOPUSPayClass * klass)
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&gst_rtp_opus_pay_sink_template));
|
gst_static_pad_template_get (&gst_rtp_opus_pay_sink_template));
|
||||||
|
|
||||||
gst_element_class_set_details_simple (element_class,
|
gst_element_class_set_metadata (element_class,
|
||||||
"RTP Opus payloader",
|
"RTP Opus payloader",
|
||||||
"Codec/Payloader/Network/RTP",
|
"Codec/Payloader/Network/RTP",
|
||||||
"Puts Opus audio in RTP packets",
|
"Puts Opus audio in RTP packets",
|
||||||
|
|
Loading…
Reference in a new issue