<div dir="ltr"><div>Hi , </div>
<div> In your application you have to check if any stream is not present then dont connect related elemet to the pipeline .</div>
<div> You might be using some callback funtion to connect demuxer src pad's with decoder's sink pad . There you check it u get a valid audio src pad from demuxer then only link those element with the main bin or pipeline . </div>
<div> </div>
<div> </div>
<div> <br><br></div>
<div class="gmail_quote">On Fri, Sep 26, 2008 at 2:18 PM, Chen Yong(Ever)[³ÂÓÂ] <span dir="ltr"><<a href="mailto:yongchen@arcsoft.com.cn">yongchen@arcsoft.com.cn</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br> 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>>From: "sudarshan bisht" <<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>><br>>Subject: Re: [gst-devel] video freeze while playing a file without<br> audio<br>>To: "Discussion of the development of GStreamer"<br>
<div class="Ih2E3d"> <<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br></div>>Message-ID:<br> <<a href="mailto:785339900809252206y30480e08ve07b971c4a6cc5cf@mail.gmail.com">785339900809252206y30480e08ve07b971c4a6cc5cf@mail.gmail.com</a>><br>
>Content-Type: text/plain; charset="gb2312"<br>
<div class="Ih2E3d"><br>>Hi ,<br> Can u please tell me how you are running pipeline ? using<br>>gst-launch or using some application written by you ?<br><br></div>>On Fri, Sep 26, 2008 at 6:15 AM, Chen Yong(Ever)[??] <<br>
<div>
<div></div>
<div class="Wj3C7c">><a href="mailto:yongchen@arcsoft.com.cn">yongchen@arcsoft.com.cn</a>> wrote:<br><br>> Thanks your reply. In my example, we don't push any audio data to<br>> down-streaming element, only push video data, but video is freeezed.<br>
><br>><br>> >Hi ,<br>> ><br>> > When u don't have audio data in your container file then that time<br>> >don't create pad for that stream in plugin code i.e. dont try to push<br>
> audio<br>> >data to next element .<br>> > In your case what is happening is that you dont have audio data even<br>> >then you are trying to push some junk data to next element and in that<br>> case<br>
> >next element is returning some other return value than GST_FLOW_OK from<br>> its<br>> >chain function .<br>> > To debug this just see return value of gst_pad_push( ) fucntion ,<br>> >this value should be GST_FLOW_OK .<br>
><br>><br><br><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">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>