how to set "max-size-time" property of queue ?

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

how to set "max-size-time" property of queue ?

王林光
 
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

 
 

 

-------------------------------------------------------------------------
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

m_tl.gif (1K) Download Attachment
m_bg.gif (346 bytes) Download Attachment
m_tr.gif (1K) Download Attachment
m_bgl.gif (494 bytes) Download Attachment
bg.gif (92 bytes) Download Attachment
m_bgr.gif (474 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: how to set "max-size-time" property of queue ?

Wim Taymans
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
>
> _______________________
> [hidden email]
>  
>  
>
>
>
>  
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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: how to set "max-size-time" property of queue ?

Martin.cheng
Hi, I just found your hint about "max-size-time"
Can you tell me some details about properties like "max-size-time", "max-size-buffers" and "max-size-bytes"?
I have known how to use them from your reply, but What kind of condition I have to use it and the different between these properties? I totally have no idea.
I can not get the detail info from doc

Thank you~
Reply | Threaded
Open this post in threaded view
|

Re: how to set "max-size-time" property of queue ?

Martin.cheng
In reply to this post by 王林光
Hi, I just found your hint about "max-size-time"
Can you tell me some details about properties like "max-size-time", "max-size-buffers" and "max-size-bytes"?
I have known how to use them from your reply, but What kind of condition I have to use it and the different between these properties? I totally have no idea.
I can not get the detail info from doc