[gst-devel] Setting queu-size in playbin

Tristan Van Berkom tvb at gnome.org
Wed Jun 15 06:12:01 CEST 2005


Rios, Ariel wrote:
> What is the correct way for setting the queu-size property in a playbin.
> I am doing 
> 
>   g_object_set (play, "queue-size", 2 * 1024 * 1024, NULL);
> 
>  
> 
> My application works as expected although I get the following warning:
> 
>  (siobhan:111): GLib-GObject-WARNING **: g_object_set_valist: object
> class `GstPlayBin' has no property named `\u0002'

If the "queue-size" property is gdouble (which I dont know), then
you need to pass it a gdouble argument, otherwise your va_arg will
eat up the NULL and g_object_set will rampage through the stack.

Just a guess, its happended to me :)

Cheers,
                            -Tristan




More information about the gstreamer-devel mailing list