<br><div><span class="gmail_quote">On 4/28/05, <b class="gmail_sendername">Pankaj GOYAL</b> <<a href="mailto:pankaj.goyal@st.com">pankaj.goyal@st.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font face="Arial" size="2"><span>HI,</span></font></div>
<div><font face="Arial" size="2"><span> I m
making two pipeline(shown below) and running the two pipelines as
different gstremer threads (using the gst_thread_new ) in
an apllication.And in addition to that i m using the another pthread
in the same application , which is prompting the user to close the
apllication when he/she desire.Now the the problem is that my application
gives segmentation fault after some time.After some hit and trial I
found out that if i remove the pthread from my application and let it
run infinitly then there is no segmentation fault.</span></font></div></blockquote><div>Please
build a small app using only your pthread-based code, taking input from
user, when it should, and printing when the appropriate functions are
called. Find out if this code is crashing.<br>
I suspect that there is a problem with your implementation of pthread,
because I personally have developed a big app using pthreads, and
Gstreamer threads (which are basically pthreads), and faced no probs as
such.<br>
<br>
Or you can send me the code, and the output of your app, when you run with "export GST_DEBUG=*:3".<br>
<span style="font-weight: bold;">NOTE: Also, please send the pthread app I mentioned.</span><br>
<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><font face="Arial" size="2"><span> Is there any such
problem that we can not use the gstreamer pipeline using the thread
simultaneously with the pthread. Can any one please tell me the how the
gstremer thread works</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>The description of
the pipepline is as</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>pipeline1 is
mysoundsource ! myencoder ! fakesink</span></font></div>
<div><font face="Arial" size="2"><span>pipeline2 is
fakesrc ! mytestdecoder ! mysoundsink</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>Regards</span></font></div><span class="sg">
<div><font face="Arial" size="2"><span>pankaj </span></font></div>
</span></blockquote></div><br><br><br>-- <br>Confused about which path to take in life?