QMediaPlayer and QMediaPlaylist gstreamer error when playing sound
-
Hi,
I have a C++ application playing sound for which we followed the examples with
QMediaPlayer
andQMediaPlaylist
. On Ubuntu 18.04 this works fine without problems. On Ubuntu 20.04 that we are now supporting the sound works (at least on my setup) but there is an error on the console:GStreamer-Audio-CRITICAL **: 19:27:55.345: file ../gst-libs/gst/audio/gstaudioringbuffer.c: line 2054 (gst_audio_ring_buffer_set_channel_positions): should not be reached
I have investigated myself but it appears I can't do much since it is in gst code: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/blob/discontinued-for-monorepo/gst-libs/gst/audio/gstaudioringbuffer.c
We use a wav file, I tried using mp3 and flac and it all appears to play but also all with the same error. I am afraid I might have problems at some point or other setups (production systems).
Anyone any pointers? Thanks!
Vitor