[gst-devel] spider not choses audioconvert

in7y118 at public.uni-hamburg.de in7y118 at public.uni-hamburg.de
Fri Feb 20 03:52:15 CET 2004


That is indeed correct behaviour from spider.
It takes the highest ranked element that can connect both elements (sink and 
source padtemplate caps match those of the connected element). This element 
happens to be volume.

Now whoever decided that volume is a good element for autoplugging and then 
gave it a rank, I don't know though.

Someone should reduces volumes rank to below audioconvert's to fix this. If 
you want to be sure this happens, file a bug. Or bug people in #gstreamer 
yourself.

Benjamin


Quoting Stefan Kost <kost at imn.htwk-leipzig.de>:

> I run the following command and it does not work:
> 
> > gst-launch-0.7 -v sinesrc ! spider ! esdsink
> RUNNING pipeline ...
> /pipeline0/sinesrc0.src: active = TRUE
> /pipeline0/spider0/sink_ident.sink: active = TRUE
> /pipeline0/spider0/sink_ident.src: active = TRUE
> /pipeline0/sinesrc0.src: caps = audio/x-raw-int, endianness=(int)4321,
> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)8000,
> channels=(int)1
> /pipeline0/spider0/sink_ident.sink: caps = audio/x-raw-int,
> endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16,
> rate=(int)8000, channels=(int)1
> /pipeline0/spider0/sink_ident.src: caps = audio/x-raw-int,
> endianness=(int)4321,
> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)8000,
> channels=(int)1
> /pipeline0/spider0/volume0.sink: caps = audio/x-raw-int,
> endianness=(int)4321,
> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)8000,
> channels=(int)1
> /pipeline0/spider0/volume0.sink: active = TRUE
> /pipeline0/spider0/volume0.src: active = TRUE
> /pipeline0/spider0/src_0.sink: active = TRUE
> /pipeline0/spider0/src_0.src: active = TRUE
> /pipeline0/esdsink0.sink: active = TRUE
> 
> (process:4772): GStreamer-WARNING **: internal error: push on pad
> sink_ident:sink but it has no chainhandler
> 
> 
> 
> but the following command works
> > gst-launch-0.7 -v sinesrc ! audioconvert ! esdsink
> RUNNING pipeline ...
> /pipeline0/audioconvert0.src: caps = audio/x-raw-int, rate=(int)44100,
> channels=(int)2, endianness=(int)4321, width=(int)16, depth=(int)16,
> signed=(boolean)true
> /pipeline0/esdsink0.sink: caps = audio/x-raw-int, rate=(int)44100,
> channels=(int)2, endianness=(int)4321, width=(int)16, depth=(int)16,
> signed=(boolean)true
> /pipeline0/sinesrc0.src: caps = audio/x-raw-int, endianness=(int)4321,
> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100,
> channels=(int)1
> /pipeline0/audioconvert0.sink: caps = audio/x-raw-int, endianness=(int)4321,
> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100,
> channels=(int)1
> /pipeline0/sinesrc0.src: active = TRUE
> /pipeline0/audioconvert0.sink: active = TRUE
> /pipeline0/audioconvert0.src: active = TRUE
> /pipeline0/esdsink0.sink: active = TRUE
> 
> Ciao
>   Stefan
> -- 
>       \|/            Stefan Kost
>      <@ @>           private            business
> +-oOO-(_)-OOo------------------------------------------------------ - - -  - 
>  -
> |       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach
> 301166
> |      ///           04277 Leipzig      04251 Leipzig
> | __  ///            Germany            Germany
> | \\\///    Phone    +49341 2253538     +49341 30766101
> |  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
> |           WWW      www.sonicpulse.de 
> www.imn.htwk-leipzig.de/~kost/about.html
> ===-=-=--=---=---------------------------------- - - -  -    -
> 






More information about the gstreamer-devel mailing list