<div dir="auto">Then this has no relation to flags surely? (In terms of switching streams)<div dir="auto"><br></div><div dir="auto">Yes I read through that page too and again found no counterpart in gstreamer-rs. Is it in glib then?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 16 Dec 2020, 14:14 Sebastian Dröge, <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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" target="_blank" rel="noreferrer">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 style="width:71ch">Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank" rel="noreferrer">https://www.centricular.com</a></div><div style="width:71ch"><br></div></span></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>