After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729888 - alsasink: Assert in ringbuffer
alsasink: Assert in ringbuffer
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.2.4
Other Linux
: Normal normal
: 1.2.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-09 17:13 UTC by Nicolas Dufresne (ndufresne)
Modified: 2014-05-15 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2014-05-09 17:13:32 UTC
This pipeline:

gst-launch-1.0  interleave name=i ! queue ! audioconvert ! alsasink  audiotestsrc ! audioconvert ! queue ! i.

Causes asserts in 1.2.4, but not in git master:

** (gst-launch-1.0:15108): CRITICAL **: file gstaudioringbuffer.c: line 1959 (gst_audio_ring_buffer_set_channel_positions): should not be reached

Didn't find what fix relates to that, so saving the informations here for now.
Comment 1 Wim Taymans 2014-05-15 13:40:11 UTC
commit 5a67055d773e8250e305839e9fb123f002ba3f42
Author: Rafał Mużyło <galtgendo@o2.pl>
Date:   Tue Feb 18 10:32:46 2014 +0000

    audio: map channels=1,channel-mask=0 to MONO instead of NONE
    
    Fixes problem in audioconvert, which would end up using
    a mixmatrix when converting between different mono format
    because it thinks MONO positioning is different from
    unpositioned channels, which is not the case in this
    special case. The mixmatrix would end up being 0.0 so
    audioconvert would convert to silence samples.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724509