<html><head></head><body><div>On Wed, 2020-12-16 at 13:56 +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 I see, this implements a toggle on the video audio and subs streams. Is there a convenience flag that allows for switching stream / counting the amount of audio streams?</div></blockquote><div><br></div><div>Check the playbin documentation: <a href="https://gstreamer.freedesktop.org/documentation/playback/playbin.html">https://gstreamer.freedesktop.org/documentation/playback/playbin.html</a></div><div><br></div><div>There is the "n-audio" property for the number of audio streams, for example.</div><div><br></div><div>There also is the "audio-changed" signal that is emitted whenever the number or order of audio streams changed.</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>