audio: make GST_AUDIO_INFO_IS_UNPOSITIONED return a boolean
authorTim-Philipp Müller <tim@centricular.com>
Sun, 26 Sep 2021 00:52:12 +0000 (01:52 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 29 Sep 2021 23:53:12 +0000 (23:53 +0000)
commit43ed0df54c62454587f02ee8f10c72b8cd8ab4fa
treee99867d545d29622570f24c5b8aadf24a0790adc
parent18378ec8c797f6b9d10427b52d0fe7e088d59d4b
audio: make GST_AUDIO_INFO_IS_UNPOSITIONED return a boolean

Luckily this worked right since the flag we check is the
only flag and its vale is 1, but feels more correct to
actually check for non-zeroness.

Spotted by Stirling Westrup.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/926>
subprojects/gst-plugins-base/gst-libs/gst/audio/audio-info.h