[gst-devel] function call blocked

Wim Taymans wim.taymans at gmail.com
Wed Mar 24 12:55:23 CET 2010


On Wed, 2010-03-24 at 17:17 +0530, Durgesh Mishra wrote:
> Hi Experts,
> 
> 
> I have written a pipeline for udpsrc -> fakesink. udpsrc port=9000 !
> rtppcmadepay ! alawdec ! audioconvert ! audioresample ! fakesink
> 
> 
> But after setting the pipeline to PLAYING state, I get
> STATE_CHANGE_ASYNC then when I try to get the state using,
> gst_element_get_state, It gets blocked forever.
> 
> 
> Any idea ?

A get_state() will block for as long as all sinks have not received any
data. Are you sure there is data being sent on the both udpsrc?

Wim

> 
> 
> Kind Regards
> -Durgesh O Mishra
> 
> 
> "If you only have a hammer, you tend to see every problem as a nail."
> ------------------------------------------------------------------------------
> 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 gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list