[gst-devel] playbin volume

Christopher Backhouse cjbackhouse at gmail.com
Tue Oct 10 13:43:58 CEST 2006


Doh. Why is the first question I ask always a stupid one?
I think a more helpful error would have been "incorrect type for 
'volume' (expected gdouble)" though
How is this handled in bindings for languages which are somewhat fuzzy 
on the whole integer/floating point thing? (specifically python)

James "Doc" Livingston wrote:
> On Tue, 2006-10-10 at 01:16 +0100, Christopher Backhouse wrote:
>>      g_object_set(G_OBJECT(play),"volume",2,NULL);
> 
> The "volume" is a double, and you're passing it in as an integer. Try
> with 2.0.
> 
> 
> Cheers,
> 
> James "Doc" Livingston




More information about the gstreamer-devel mailing list