Bug#326135: pad problem with alsasink

Adam Jasiński ajasin1 at aster.pl
Thu Sep 1 23:50:54 UTC 2005

Package: gstreamer0.8-alsa
Version: 0.8.10-3
Architecture: amd64

When I try to play a sound with alsa plugin I get the following error:

$ gst-launch filesrc location=foo.mp3 ! mad ! alsasink
RUNNING pipeline ...
ERROR: from element /pipeline0/alsasink0: Could not get/set settings from/on resource.
ERROR: from element /pipeline0/mad0: Internal GStreamer error: pad problem.  File a bug.
Additional debug info:
gstpad.c(2562): gst_pad_set_explicit_caps: /pipeline0/mad0:
failed to negotiate (try_set_caps with "audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2" returned REFUSED)
ERROR: from element /pipeline0/mad0: Internal GStreamer error: negotiation problem.  File a bug.
Additional debug info:
gstmad.c(1206): gst_mad_check_caps_reset: /pipeline0/mad0:
Failed to negotiate 44100 Hz, 2 channels
Execution ended after 1 iterations (sum 5233000 ns, average 5233000 ns, min 5233000 ns, max 5233000 ns).

Running the same command with osssink works fine.

All my GStreamer packages are in version 0.8.10-3.
Other applications (e.g. xmms, MPlayer) have no problem with their own ALSA output plugins.

ALSA version:
alsa-base: 1.0.9b-2
libasound: 1.0.9-2

Kernel (with ALSA modules): 2.6.11-9-amd64-k8
libc6: 2.3.5-4
Soundcard module: snd_via82xx

My .asoundrc:
pcm.snd-via82xx {
    type hw
    card 0
    device 0

ctl.snd-via82xx {
    type hw
    card 0

More information about the Pkg-gstreamer-maintainers mailing list