<html><head></head><body><div>On Wed, 2020-12-16 at 20:25 +0000, Michael Johnson wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="auto">Ah yes. Properties is highly useful. However, n-audio is by default 0, which is strange because I have 5 audio tracks</div></blockquote><div><br></div><div>Connect to the "audio-changed" signal and whenever that is emitted, check the value.</div><div><br></div><div>Before the playbin is in PAUSED state, you will always get 0 audio/video/text tracks.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="auto"><div dir="auto">Also setting </div><div dir="auto">pipeline.set_property("current-audio",&2) doesn't change the track. I'm pretty sure it's because I'm giving the wrong second argument</div></div></blockquote><div><br></div><div>Same as above, you have to set it after the playbin is PLAYING.</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>