On Mon, 2010-03-15 at 05:19 -0800, wanting2learn wrote:
> I have an rtspsrc element in my pipeline and sometimes when I am setting my
> elements to PAUSED or NULL like so
> if ( !gst_element_set_state( source,GST_STATE_PAUSED )
> if ( !gst_element_set_state( source,GST_STATE_NULL )
>
> Then I notice that it freezes for about 20 seconds each time
> gst_element_set_state is called. I found that rtspsrc has a tcp-timeout
> property that has a default value of 20 seconds so I try setting it like so
> to reduce my timeout value.
> gint timeout = 5000000;//5 seconds
> g_object_set(source, "tcp-timeout", timeout, NULL );
tcp-timeout is a guint64 property so you need to either declare it like
that or cast to it when using g_object_set.
Wim
>
> But then my pipeline does not play at all.
>
> Has anyone ever saw anything like this, and how can I solve it?
>
> Thanks
>
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel