rtpopuspay: Return upstream channel filter based on OPUS vs MULTICAPS
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 3 Jan 2023 23:06:56 +0000 (18:06 -0500)
committerOlivier Crête <olivier.crete@ocrete.ca>
Thu, 12 Jan 2023 23:48:35 +0000 (18:48 -0500)
commitc52c66b575626c7ea76277831f53c81512ed33b2
tree1a6555c7a4e6281b663db8abc61084e8660c0466
parentc51ae6112d28e984859b348f60bfeea8864b8606
rtpopuspay: Return upstream channel filter based on OPUS vs MULTICAPS

Only allow 1 or 2 channels if the caps are OPUS, or 3+ if they are
MULTIOPUS.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3674>
subprojects/gst-plugins-good/gst/rtp/gstrtpopuspay.c