opusdec: Add Converter class to hint gst-validate
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 11 May 2021 18:31:59 +0000 (14:31 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 11 May 2021 19:06:39 +0000 (15:06 -0400)
commit725763f8b21746db992e15fcb0f855ecb638e5df
treed32e10465ecf9477dbb27fd5a38f0a1914a17e76
parentd15f88adc51d419454174b67755a0bb482f3ec15
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 https://gitlab.freedesktop.org/gstreamer/gst-integration-testsuites/-/merge_requests/102

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1142>
docs/plugins/gst_plugins_cache.json
ext/opus/gstopusdec.c