opusdec: Negotiate default to 2 channels
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 30 Nov 2022 18:47:11 +0000 (20:47 +0200)
committerVivia Nikolaidou <vivia@ahiru.eu>
Wed, 30 Nov 2022 18:56:30 +0000 (20:56 +0200)
commitc9afaf5cd9d07ec915657f27e4dccdfa4732e7d4
treeabcdfbeaf2e5e396a735249bbd115b76a26596b9
parentcdf411e82d7e437e5de138492b6e75e5513686ee
opusdec: Negotiate default to 2 channels

In that place, dec->n_channels can still theoretically be 0. Default to
2 in that case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3494>
subprojects/gst-plugins-base/ext/opus/gstopusdec.c