<div dir="ltr"><div>Hi , </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In your application you have to check if any stream is not present then dont connect related elemet to the pipeline&nbsp;.</div>
<div>&nbsp;You might be using some callback funtion to connect demuxer src pad&#39;s with decoder&#39;s sink pad . There you check it u get a valid audio src pad from&nbsp;demuxer then only link those element with the main bin or pipeline . &nbsp;</div>

<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;<br><br></div>
<div class="gmail_quote">On Fri, Sep 26, 2008 at 2:18 PM, Chen Yong(Ever)[³ÂÓÂ] <span dir="ltr">&lt;<a href="mailto:yongchen@arcsoft.com.cn">yongchen@arcsoft.com.cn</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>&nbsp; &nbsp; &nbsp; &nbsp;We write an application to create a pipeline, add connect all pads to all sinks,<br>and simply set pipeline status to playing. In fact, this problem also occur in other case, maybe we playback a mpeg file, but while forward scan with high-speed, we should send video only(I picture) , video is free zed, too.<br>
<br>&gt;From: &quot;sudarshan bisht&quot; &lt;<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>&gt;<br>&gt;Subject: Re: [gst-devel] video freeze while playing a file without<br>&nbsp; &nbsp; &nbsp; &nbsp;audio<br>&gt;To: &quot;Discussion of the development of GStreamer&quot;<br>

<div class="Ih2E3d">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br></div>&gt;Message-ID:<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:785339900809252206y30480e08ve07b971c4a6cc5cf@mail.gmail.com">785339900809252206y30480e08ve07b971c4a6cc5cf@mail.gmail.com</a>&gt;<br>
&gt;Content-Type: text/plain; charset=&quot;gb2312&quot;<br>
<div class="Ih2E3d"><br>&gt;Hi ,<br>&nbsp; &nbsp; &nbsp; Can u please tell me how you are running pipeline ? &nbsp;using<br>&gt;gst-launch or using some application written by you &nbsp;?<br><br></div>&gt;On Fri, Sep 26, 2008 at 6:15 AM, Chen Yong(Ever)[??] &lt;<br>

<div>
<div></div>
<div class="Wj3C7c">&gt;<a href="mailto:yongchen@arcsoft.com.cn">yongchen@arcsoft.com.cn</a>&gt; wrote:<br><br>&gt; Thanks your reply. In my example, we don&#39;t push any audio data to<br>&gt; down-streaming element, only push video data, but video is freeezed.<br>
&gt;<br>&gt;<br>&gt; &gt;Hi ,<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;When u don&#39;t have audio data in your container file then that time<br>&gt; &gt;don&#39;t create pad for that stream in plugin code i.e. dont try to push<br>
&gt; audio<br>&gt; &gt;data to next element .<br>&gt; &gt; &nbsp; &nbsp; &nbsp;In your case what is happening is that you dont have audio data even<br>&gt; &gt;then you are trying to push some junk data to next element and in that<br>&gt; case<br>
&gt; &gt;next element is returning some other return value than GST_FLOW_OK &nbsp;from<br>&gt; its<br>&gt; &gt;chain function .<br>&gt; &gt; &nbsp; &nbsp; &nbsp;To debug this just see return value of gst_pad_push( ) &nbsp;fucntion ,<br>&gt; &gt;this value should be GST_FLOW_OK .<br>
&gt;<br>&gt;<br><br><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">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br></div>