<div dir="ltr"><div>Hi ,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When u don&#39;t have audio data in your container file then that time don&#39;t create pad for that stream&nbsp;in&nbsp;plugin code&nbsp;i.e. dont try to push audio data to next element .&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In your case what is happening is&nbsp;that you dont have audio data even then you are trying to push some junk data to next element&nbsp;and in that case next element is returning some other return value than GST_FLOW_OK&nbsp; from its chain function . </div>

<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To debug this just see return value of gst_pad_push( ) &nbsp;fucntion&nbsp;, this&nbsp;value should be GST_FLOW_OK&nbsp;.&nbsp;&nbsp; </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;<br><br></div>
<div class="gmail_quote">2008/9/25 Chen Yong(Ever)[³ÂÓÂ] <span dir="ltr">&lt;<a href="mailto:yongchen@arcsoft.com.cn" target="_blank">yongchen@arcsoft.com.cn</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="ZH-CN" vlink="purple" link="blue">
<div style="LAYOUT-GRID:  15.6pt none">
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi, all,</span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am developing a plug-in which integrate source with demux functions, and it always have two src pads, one for video, another for audio, in my pipeline, we connected 2 branches to video sink and audio sink. It is ok to playback a file with audio and video, but if there is no audio data in this file, video freezed. I trace gstreamer code, found audiosink is prerolled status. What I need to do to solve it?</span></font></p>

<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Verdana" color="gray" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Verdana">Best Regards</span></font></p>
<p><font face="Verdana" color="gray" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Verdana">Ever Chen</span></font></p>
<p><font face="Times New Roman" size="2"><span lang="EN-US">&nbsp;</span></font></p></div></div><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br></div>