How to set volume in GstPlayBin

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

How to set volume in GstPlayBin

Debsu
Hi,

Is it possible to set the volume for Playbin element?
When I try to set the volume , says GstPlayBin has no property named, like:
 GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GstPlayBin' has no property named `'
Reply | Threaded
Open this post in threaded view
|

Re: How to set volume in GstPlayBin

Uday Verma
g_object_set (G_OBJECT(playbin), "volume", 5.0, NULL); ?

On Mon, Nov 16, 2009 at 9:07 AM, Debsu <[hidden email]> wrote:

Hi,

Is it possible to set the volume for Playbin element?
When I try to set the volume , says GstPlayBin has no property named, like:
 GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GstPlayBin'
has no property named `'


-----
Regards,
Debsu
--
View this message in context: http://old.nabble.com/How-to-set-volume-in-GstPlayBin-tp26373535p26373535.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to set volume in GstPlayBin

Debsu
Yes I am using :
g_object_set(G_OBJECT(Playbin), "volume", 1.0, NULL);

But it gives the error:
(<unknown>:1863): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GstPlayBin' has no property named

Uday Verma wrote
g_object_set (G_OBJECT(playbin), "volume", 5.0, NULL); ?

On Mon, Nov 16, 2009 at 9:07 AM, Debsu <debojyoti.pal@wipro.com> wrote:

>
> Hi,
>
> Is it possible to set the volume for Playbin element?
> When I try to set the volume , says GstPlayBin has no property named, like:
>  GLib-GObject-WARNING **: IA__g_object_set_valist: object class
> `GstPlayBin'
> has no property named `'
>
>
> -----
> Regards,
> Debsu
> --
> View this message in context:
> http://old.nabble.com/How-to-set-volume-in-GstPlayBin-tp26373535p26373535.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to set volume in GstPlayBin

Debsu
In reply to this post by Uday Verma
Hi Uday,

Thanks a lot, it was my mistake, I was using integer variable instead of double. Not ir is working fine. Thanks again