Hi,<br><br>Can someone help me get this right. I want to create a bin which uses uridecodebin and then add it to my pipeline. I have certain signal and properties I wish to set on uridecodebin, here is the code:<br><br> pipeline = gst_pipeline_new("");<br>
<br> GstElement* uriDecodebin = gst_bin_new("uridecodebin");<br> gst_bin_add(GST_BIN(pipeline), uriDecodebin);<br><br> g_signal_connect(uriDecodebin, "pad-added", G_CALLBACK(callbackPadAdded), this);<br>
g_signal_connect(uriDecodebin, "drained", G_CALLBACK(sourceDrainedCallback), this);<br> <br> bool useBuffering = false;<br> g_object_set(G_OBJECT(uriDecodebin),<br> "buffer-size", 150000,<br>
"download", "false",<br> "use-buffering", useBuffering,<br> NULL);<br><br>When I try to run this I get:<br><br>(<unknown>:1371): GLib-GObject-WARNING **: gsignal.c:2273: signal `drained' is invalid for instance `0x483030'<br>
<br>(<unknown>:1371): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GstBin' has no property named `buffer-size'<br><br>(<unknown>:1371): GStreamer-CRITICAL **: gst_element_link_pads_full: assertion `GST_IS_ELEMENT (dest)' failed<br>
<br>Thanks,<br>Stuart<br>