matroskamux: Set rate/channels in Opus template caps
authorArun Raghavan <arun@asymptotic.io>
Fri, 10 Mar 2023 18:10:16 +0000 (13:10 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 14 Mar 2023 21:31:30 +0000 (21:31 +0000)
commit5b83ba52b165c287e081cccdfe2e6fa297703a30
tree8976bc658c88885d6d8910a3fc0ae2c139cf935f
parent0dd60e06e82389c5b88b197de3e1354d5610804b
matroskamux: Set rate/channels in Opus template caps

For some reason these were missed, and if caps didn't have them, we would emit
an invalid Matroska file with a 0 value for Sampling Frequency or channels.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2354
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4172>
subprojects/gst-plugins-good/docs/gst_plugins_cache.json
subprojects/gst-plugins-good/gst/matroska/matroska-mux.c