Hi,<br><br>In trying to connect uridecodebin to queue2 I get the following output from gstreamer:<br><br>(<unknown>:1363): GStreamer-WARNING **: Name queue20 is not unique in bin , not adding<br><br><br>My gstreamer versions are as follows:<br>
<br>gstreamer-0.10.31<br>gst-plugins-base-0.10.31<br>gst-plugins-good-0.10.26<br>gst-plugins-bad-0.10.20<br><br>My code is as follows:<br><br> pipeline = gst_pipeline_new("");<br><br> uriDecodebin = gst_element_factory_make("uridecodebin", NULL);<br>
<br> g_object_set(G_OBJECT(uriDecodebin), "buffer-size", 150000, NULL);<br> g_object_set(G_OBJECT(uriDecodebin), "download", false, NULL);<br> g_object_set(G_OBJECT(uriDecodebin), "use-buffering", false, NULL);<br>
g_signal_connect(G_OBJECT(uriDecodebin), "drained", G_CALLBACK(sourceDrainedCallback), this);<br> /* connect uridecodebin to _sourceQ when it creates its output pad */<br> g_signal_connect(G_OBJECT(uriDecodebin), "pad-added", G_CALLBACK(callbackPadAdded), this);<br>
<br> outputBin = gst_bin_new("output-bin");<br>...<br> _sourceQ = gst_element_factory_make("queue2", NULL);<br> gst_bin_add_many(GST_BIN(outputBin), _sourceQ, _pcmSink, NULL); <br>
...<br> // link the static parts together<br> gst_element_link_many(_sourceQ, _pcmSink, NULL);<br><br><br>Stuart<br><br>