[Bug 724509] playbin with appsink audio-sink doesn't handle caps well

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 17 11:02:03 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=724509
  GStreamer | gst-plugins-base | 1.2.2

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-02-17 19:22:11 UTC ---
The problem seems to be the channel-mask=0 that gets set for the i=0 /
channels=1 case. Without it, you get proper data alright.

It looks like it might be a bug in audioconvert:

gstaudioconvert.c:739:gst_audio_convert_fixate_caps:<conv> fixated othercaps to
audio/x-raw, layout=(string)interleaved, rate=(int)11025, format=(string)S16LE,
channels=(int)1, channel-mask=(bitmask)0x0000000000000000
gstaudioconvert.c:753:gst_audio_convert_set_caps:<conv> incaps audio/x-raw,
format=(string)S8, layout=(string)interleaved, rate=(int)11025,
channels=(int)1, outcaps audio/x-raw, layout=(string)interleaved,
rate=(int)11025, format=(string)S16LE, channels=(int)1,
channel-mask=(bitmask)0x0000000000000000
audioconvert.c:620:audio_convert_prepare_context: depth in 8, out 16
audioconvert.c:634:audio_convert_prepare_context: using no dither and noise
shaping
gstchannelmix.c:641:gst_channel_mix_setup_matrix: Matrix for 1 -> 1: { {
0.000000 } }

That mixmatrix is what results in everything being 0.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list