Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer and QMediaPlaylist gstreamer error when playing sound
Forum Updated to NodeBB v4.3 + New Features

QMediaPlayer and QMediaPlaylist gstreamer error when playing sound

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 489 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vgvp
    wrote on last edited by vgvp
    #1

    Hi,

    I have a C++ application playing sound for which we followed the examples with QMediaPlayer and QMediaPlaylist. 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

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thdqn
      wrote on last edited by
      #2

      I have the same problem, how can i solve it

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved