<html><head></head><body><div>On Wed, 2020-12-16 at 10:00 +0000, Michael Johnson wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">To whom it may concern,<div><br></div><div>I was invited to join here by Sebastian for discussion on problems.</div><div><br></div><div>Looking through the src and the docs it's very hard to find an instance where you can extract information about the stream info so you can switch audio streams (for example from french to english) from element::Element when using parse_launch.</div></div></blockquote><div><br></div><div>You would do that the same way as in C by using the GObject properties, signals and action signals on the playbin element.</div><div><br></div><div>The playbin example should help here: <a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/blob/0.16/examples/src/bin/playbin.rs">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/blob/0.16/examples/src/bin/playbin.rs</a></div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>I feel it needs some flags, but they are not documented in the rust version. Can anyone point me in the right direction?</div></div></blockquote><div><br></div><div>See the commented flags code in the example.</div><div><br></div><div>Let me know if something's still unclear after reading that code.</div><div><br></div><div><span><pre>-- <br></pre><div data-evo-paragraph="" class="" style="width: 71ch;" data-evo-signature-plain-text-mode="">Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com">https://www.centricular.com</a></div><div data-evo-paragraph="" class="" style="width: 71ch;"><br></div></span></div></body></html>