LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2010, 08:22 AM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
GStreamer question


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


But then my pipeline does not play at all.

Has anyone ever saw anything like this, and how can I solve it?

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GStreamer question - expert needed! HarryBoy Programming 0 03-09-2010 11:50 AM
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 12:24 PM
What is Gstreamer ? michalng Linux - Newbie 2 03-29-2009 07:15 AM
gstreamer ranacse05 SUSE / openSUSE 1 10-26-2007 03:22 PM
gstreamer how to rem1986 Programming 2 01-02-2006 12:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration