audioringbuffer: Don't try to map MONO channel
authorDoug Nazar <nazard@nazar.ca>
Mon, 27 Nov 2023 14:01:38 +0000 (09:01 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2023 21:03:51 +0000 (21:03 +0000)
commit51939b62b8ac0aa24ff9999d66319772d081829a
treeb9b337319dd8a3fbfb6664be8912e778148e8db9
parentec9ddb6222e04cda0d3506e8c9e910dc8c44dc36
audioringbuffer: Don't try to map MONO channel

Avoids critical message:

gstaudioringbuffer.c: line 2155 (gst_audio_ring_buffer_set_channel_positions):
should not be reached

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5793>
subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudioringbuffer.c