Commit 725763f8 authored by Nicolas Dufresne's avatar Nicolas Dufresne

opusdec: Add Converter class to hint gst-validate

opusdec have minimal conversion capability, adding the Converter class allow
gst-validate to behave properly and not spit an error when it notice that the
number of channels or rate miss-match in and out.

Related to

Part-of: <>
parent d15f88ad
......@@ -7545,7 +7545,7 @@
"klass": "Codec/Decoder/Audio",
"klass": "Codec/Decoder/Audio/Converter",
"long-name": "Opus audio decoder",
"pad-templates": {
"sink": {
......@@ -138,7 +138,7 @@ gst_opus_dec_class_init (GstOpusDecClass * klass)
gst_element_class_add_static_pad_template (element_class,
gst_element_class_set_static_metadata (element_class, "Opus audio decoder",
"Codec/Decoder/Audio", "decode opus streams to audio",
"Codec/Decoder/Audio/Converter", "decode opus streams to audio",
"Vincent Penquerc'h <>");
g_object_class_install_property (gobject_class, PROP_USE_INBAND_FEC,
g_param_spec_boolean ("use-inband-fec", "Use in-band FEC",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment