New, also help on dealing with multiple audio streams using gstreamer-rs

Michael Johnson liquidmikerrs at gmail.com
Thu Dec 17 09:46:27 UTC 2020


Ah I haven't got anything to do with the properties connected to a signal?
Do you reckon that's the issue then

I'm setting and getting the properties all from playing. So I can't get
n-audio from playing state?

On Thu, 17 Dec 2020, 08:19 Sebastian Dröge, <sebastian at centricular.com>
wrote:

> On Wed, 2020-12-16 at 20:25 +0000, Michael Johnson wrote:
>
> Ah yes. Properties is highly useful. However, n-audio is by default 0,
> which is strange because I have 5 audio tracks
>
>
> Connect to the "audio-changed" signal and whenever that is emitted, check
> the value.
>
> Before the playbin is in PAUSED state, you will always get 0
> audio/video/text tracks.
>
> Also setting
> 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
>
>
> Same as above, you have to set it after the playbin is PLAYING.
>
> --
>
> Sebastian Dröge, Centricular Ltd · https://www.centricular.com
> <http://www.centricular.com>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201217/5f03f5c9/attachment.htm>


More information about the gstreamer-devel mailing list