[gst-devel] how to set "max-size-time" property of queue ?

Wim Taymans wim.taymans at gmail.com
Fri Sep 26 11:10:01 CEST 2008


On Fri, 2008-09-26 at 15:46 +0800, 王林光 wrote:

max-size-time is a guint64 property so it needs to be cast to this in a
vararg function like g_object_set(). Like this:

  g_object_set (G_OBJECT(aQueue), "max-size-time", (guint64)0, NULL);

Wim


> 
> 
> 
> 
>  
> Hi, all developers!
> When I seted the
> "max-size-time" property of queue in my application, it printed out one error such as:
> GLib-GObject-WARNING
> **:
> IA__g_object_set_valist: object class `GstQueue' has no property named `\x80?^@\u0001'
> I didn't know what is
> the matter. In my
> codes, the setting
> codes is:
> g_object_set(G_OBJECT(aQueue), "max-size-time", 0, NULL);
>  
> But if I used
> gst-launch like this:
> gst-launch neonhttpsrc
> uri=$ ! qtdemux ! queue
> max-size-buffers=0
> max-size-time=0 !
> faad ! osssink
> sync=false
> it is ok.Is there
> anyone to tell me some
> information? Looking
> forward for answers.
>     Thanks in advance! 
>  
> 2008-09-26 
> 
> _______________________
> linguang_wang at astrocom.cn
>  
>  
> 
> 
> 
>  
> -------------------------------------------------------------------------
> 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 gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list