<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>I think, You need&nbsp;to check <STRONG>state_change, finalize&nbsp;and&nbsp;dispose </STRONG>function.</DIV>
<DIV><BR>At&nbsp;2011-12-29&nbsp;10:23:13,forestzhu&nbsp;&lt;forest0823@126.com&gt;&nbsp;wrote:<BR>&gt;Hi&nbsp;hcpwll,<BR>&gt;<BR>&gt;Nice&nbsp;to&nbsp;see&nbsp;your&nbsp;reply.<BR>&gt;I&nbsp;have&nbsp;tried&nbsp;your&nbsp;code.<BR>&gt;Unfortunately&nbsp;,it&nbsp;seems&nbsp;useless.<BR>&gt;The&nbsp;program&nbsp;crashed&nbsp;before&nbsp;the&nbsp;"gst_element_set_state"&nbsp;like&nbsp;my&nbsp;code.<BR>&gt;<BR>&gt;Regards,<BR>&gt;forest<BR>&gt;<BR>&gt;<BR>&gt;--<BR>&gt;View&nbsp;this&nbsp;message&nbsp;in&nbsp;context:&nbsp;http://gstreamer-devel.966125.n4.nabble.com/The-problem-about-gst-element-set-state-tp4239421p4241574.html<BR>&gt;Sent&nbsp;from&nbsp;the&nbsp;GStreamer-devel&nbsp;mailing&nbsp;list&nbsp;archive&nbsp;at&nbsp;Nabble.com.<BR>&gt;_______________________________________________<BR>&gt;gstreamer-devel&nbsp;mailing&nbsp;list<BR>&gt;gstreamer-devel@lists.freedesktop.org<BR>&gt;http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<BR></DIV></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>