jack: Fix assertion fail when device supports only mono channel
authorSeungha Yang <seungha@centricular.com>
Mon, 26 Jul 2021 09:43:04 +0000 (18:43 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 28 Jul 2021 08:16:15 +0000 (08:16 +0000)
commit9c9ad0c8d6c1046ad09e76234abdb08aa6e17fde
treee8774cc738ff5bc5b2c38b8036f45ffc91a8abf0
parentb1fb787859fd9d0069bd28c2098819e7625e63e1
jack: Fix assertion fail when device supports only mono channel

MAX should be larger than MIN for GST_TYPE_INT_RANGE.

GStreamer-CRITICAL **: 18:26:27.912:
gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1033>
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c