<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=787420511-20072006>Hello There</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=787420511-20072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=787420511-20072006>Looks like the source of the problem is
gst_pad_pause_task in my state change function.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=787420511-20072006>Any suggestions to prevent this
problem</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=787420511-20072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=787420511-20072006>Thanks</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Kalyanavarathan, Vasanth <BR><B>Sent:</B>
20 July 2006 11:16<BR><B>To:</B> 'gstreamer-devel@lists.sourceforge.net';
Christian, James<BR><B>Subject:</B> gst_element_set_state hangs
?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=504341310-20072006>Hello
There</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=504341310-20072006>My Gst Application
before modifying the pipeline content invokes pause and play using
gst_element_set_state</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=504341310-20072006>in a thread context
different from g_mainloop thread.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=504341310-20072006>On some occasions I
see that the gst_element_set_state does not return and
hangs.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=504341310-20072006>However by looking
into the source I cannot see any obvious reason for this
behaviour.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=504341310-20072006>Could you please
suggest an alternative asynchronous way to pause and play pipeline
?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=504341310-20072006>Vasanth</SPAN></FONT></DIV>This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster@nds.com and destroy the original message</BODY></HTML>