Name queue20 is not unique in bin , not adding - when connecting uridecodebin to queue2 (Stuart Gray)

stuart68 stuart68 at gmail.com
Thu Oct 6 00:08:52 PDT 2011


No matter how I try this, I never see my alsasink linking in the debug.

I have tried putting queue2 into a bin, creating a ghost pad and linking to
the bin.

I have also tried keeping it all as elements and linking uridecodebin,
audioconvert, audioresample and then queue2, but each time I still do not
see alsasink being linked.

Using the queueBin just to hold queue2:

        gst_bin_add_many(GST_BIN(pipeline), uriDecodebin, queueBin, NULL);
        qDebug() << "link many in streaming";
        gst_element_link_many(uriDecodebin, queueBin, _pcmSink, NULL);

Others seemed to have ad issues linking uridecodebin to queue2, but this
part seems to be fine, it is linking the queueBin to the alsasink, _psmSink
that I cannot get to work.

Do I need to create a src pad on the queueBin? Then add a callBackPadAdded
on _pcmSink and when this gets called link it to a src pad on queueBin?

I have  http://gstreamer-devel.966125.n4.nabble.com/file/n3877248/debug.txt
debug.txt tried using queue, but again it is the alsasink that does not get
linked.

My ideal pipeline would be:

uridecodebin ! queue2 ! alsasink

Using gst-launch this works really well, but I cannot code it up and get it
to produce audio.

Stuart





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Re-Name-queue20-is-not-unique-in-bin-not-adding-when-connecting-uridecodebin-to-queue2-Stuart-Gray-tp3873822p3877248.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list