<div dir="ltr"><div>Hi ,</div>
<div> </div>
<div> When u don't have audio data in your container file then that time don't create pad for that stream in plugin code i.e. dont try to push audio data to next element . </div>
<div> In your case what is happening is that you dont have audio data even then you are trying to push some junk data to next element and in that case next element is returning some other return value than GST_FLOW_OK from its chain function . </div>
<div> To debug this just see return value of gst_pad_push( ) fucntion , this value should be GST_FLOW_OK . </div>
<div> <br><br></div>
<div class="gmail_quote">2008/9/25 Chen Yong(Ever)[³ÂÓÂ] <span dir="ltr"><<a href="mailto:yongchen@arcsoft.com.cn" target="_blank">yongchen@arcsoft.com.cn</a>></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"> 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"> </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"> </span></font></p></div></div><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & 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&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&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>