function call blocked

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

function call blocked

Durgesh Mishra
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 ?

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: function call blocked

Wim Taymans
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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: function call blocked

Durgesh Mishra
Yes. Data is there. In fact, I could hear the data when I put real sink. But the calls remains blocked forever....

On 24 March 2010 17:25, Wim Taymans <[hidden email]> wrote:
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&#174; 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



------------------------------------------------------------------------------
Download Intel&#174; 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



--
"If you only have a hammer, you tend to see every problem as a nail."

------------------------------------------------------------------------------
Download Intel&#174; 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