<html><head><meta http-equiv="Content-Type" content="text/html charset=koi8-r"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Please try the following:</div><div><br></div><pre style="margin-top: 0px; margin-bottom: 12px; padding: 10px 15px !important; border: 1px solid rgb(202, 201, 201) !important; font: inherit; vertical-align: baseline; border-bottom-left-radius: 8px; background-color: rgb(250, 250, 250); overflow-x: auto; overflow-y: hidden; text-align: left; "><font color="#555555" face="Courier New, Courier, monospace"><span style="line-height: 18px;">Glib::RefPtr<Gst::ElementInterfaced<Gst::URIHandler></span></font><span style="line-height: 18px; color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; ">> handler = </span><span style="line-height: 18px; color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; ">Gst::Interface::cast<Gst::URIHandler>(refPlay);</span><div><span style="line-height: 18px; color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; ">handler->set_uri(</span><span style="line-height: 18px; color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; ">"<a href="file:///path/to/file.mp3">file:///path/to/file.mp3</a>"</span><span style="line-height: 18px; color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; ">);</span></div></pre><div><br></div><div><div>On Sep 4, 2012, at 8:21 AM, ζΑΝΙΜΙΡ ιΝΡ <<a href="mailto:kangaba@yandex.ru">kangaba@yandex.ru</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">btw, refPlay is a playbin var created this way:<br>Glib::RefPtr<Gst::Element> refPlay = Gst::ElementFactory::create_element("playbin", "play");<br><br>04.09.2012, 09:19, "ζΑΝΙΜΙΡ ιΝΡ" <<a href="mailto:kangaba@yandex.ru">kangaba@yandex.ru</a>>:<br><blockquote type="cite">I'm using the (standard) C++ bindings available on Ubuntu (12.04) by installing libgstreamermm-0.10-dev<br><br>04.09.2012, 09:11, "Cedric Hombourger" <<a href="mailto:chombourger@gmail.com">chombourger@gmail.com</a>>:<br><br><blockquote type="cite">  Hi,<br><br>  Are you using the C API or some sort of C++ bindings to GStreamer?<br><br>  Cedric<br><br>  On Sep 4, 2012, at 7:47 AM, ζΑΝΙΜΙΡ ιΝΡ <<a href="mailto:kangaba@yandex.ru">kangaba@yandex.ru</a>> wrote:<br><blockquote type="cite">   Hi,<br>   Sorry if it's the wrong place,<br>   What would be the C++ version of setting the "uri" of the Gst::Element:<br>   g_object_set(G_OBJECT(refElement->gobj()), "uri", "<a href="file:///path/to/file.mp3">file:///path/to/file.mp3</a>", NULL);<br><br>   _______________________________________________<br>   gstreamer-devel mailing list<br>   <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>   <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></blockquote>  _______________________________________________<br>  gstreamer-devel mailing list<br>  <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>  <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></blockquote></blockquote>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></blockquote></div><br></body></html>