Name queue20 is not unique in bin , not adding - when connecting uridecodebin to queue2

Stuart Gray stuart68 at gmail.com
Mon Oct 3 19:43:21 PDT 2011


Hi,

In trying to connect uridecodebin to queue2 I get the following output from
gstreamer:

(<unknown>:1363): GStreamer-WARNING **: Name queue20 is not unique in bin ,
not adding


My gstreamer versions are as follows:

gstreamer-0.10.31
gst-plugins-base-0.10.31
gst-plugins-good-0.10.26
gst-plugins-bad-0.10.20

My code is as follows:

        pipeline = gst_pipeline_new("");

        uriDecodebin = gst_element_factory_make("uridecodebin", NULL);

        g_object_set(G_OBJECT(uriDecodebin), "buffer-size", 150000, NULL);
        g_object_set(G_OBJECT(uriDecodebin), "download", false, NULL);
        g_object_set(G_OBJECT(uriDecodebin), "use-buffering", false, NULL);
        g_signal_connect(G_OBJECT(uriDecodebin), "drained",
G_CALLBACK(sourceDrainedCallback), this);
        /* connect uridecodebin to _sourceQ when it creates its output pad
*/
        g_signal_connect(G_OBJECT(uriDecodebin), "pad-added",
G_CALLBACK(callbackPadAdded), this);

        outputBin = gst_bin_new("output-bin");
...
        _sourceQ = gst_element_factory_make("queue2", NULL);
        gst_bin_add_many(GST_BIN(outputBin), _sourceQ, _pcmSink, NULL);
...
        // link the static parts together
        gst_element_link_many(_sourceQ, _pcmSink, NULL);


Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111004/f06f8bf2/attachment.htm>


More information about the gstreamer-devel mailing list