GNOME Bugzilla – Bug 304765
another silly capsnego: sinesrc -> 3 channel audio
Last modified: 2005-11-22 12:46:50 UTC
gst-launch -v sinesrc ! audioconvert ! audioscale ! fakesink silent=TRUE this negotiates to 3-channel audio. Negotiation really should make elements prefer passthrough for as many properties as possible. There's no reason to go from 1 channel to 3 channel.
seems related to the fact that audioscale has [3, ...] for the passthrough caps; changing it to 4 gives: gst-0.8] [thomas@otto gst-plugins]$ gst-launch -v sinesrc ! audioconvert ! audioscale ! fakesink silent=TRUE RUNNING pipeline ... /pipeline0/audioscale0.src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)4, endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true, ie 4 channel audio might this be related to the bug in caps_simplify that doesn't respect order of caps ?
Obsolete; this is fixed in HEAD and no one hacks 0.8 capsnego any more.