muting playbin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

muting playbin

Ash-25
For some reason muteing playbin does not seem to work. I query stream info and find the audio stream. Then I set the mute property on it but nothign seems to happen. Is this a bug or am I doing something wrong?

Use video conversation to talk face-to-face with Windows Live Messenger. Get started.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: muting playbin

Tim Müller-3
On Tue, 2008-07-22 at 17:44 +0000, Ash wrote:

> For some reason muteing playbin does not seem to work. I query stream
> info and find the audio stream. Then I set the mute property on it but
> nothign seems to happen. Is this a bug or am I doing something wrong?

You could just set the "current-audio" property to -1 (which will work
with recent playbin versions only though, ie. gst-plugins-base >=
0.10.20).

Cheers
 -Tim



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: muting playbin

Ash-25
if i wnated to support older version as well, is there any way to get mute working without the below method?

> From: [hidden email]
> To: [hidden email]
> Date: Tue, 22 Jul 2008 19:59:57 +0100
> Subject: Re: [gst-devel] muting playbin
>
> On Tue, 2008-07-22 at 17:44 +0000, Ash wrote:
>
> > For some reason muteing playbin does not seem to work. I query stream
> > info and find the audio stream. Then I set the mute property on it but
> > nothign seems to happen. Is this a bug or am I doing something wrong?
>
> You could just set the "current-audio" property to -1 (which will work
> with recent playbin versions only though, ie. gst-plugins-base >=
> 0.10.20).
>
> Cheers
> -Tim
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


With Windows Live for mobile, your contacts travel with you. Connect on the go.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: muting playbin

Tim-Philipp Müller-2
On Wed, 2008-07-23 at 17:41 +0000, Ash wrote:

> if i wanted to support older version as well, is there any way to get
> mute working without [setting current-audio to -1]?

Yes, set the volume to 0.0.

Cheers
 -Tim



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel