Thanks you very much, I understand. <br><br>
<div class="gmail_quote">2009/11/2 Tim-Philipp Müller <span dir="ltr">&lt;<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Mon, 2009-11-02 at 19:57 +0800, Freeman Zhang wrote:<br><br>&gt; But, why the command line &quot;gst-launch&quot; can handle it?<br><br></div>Ah, sorry, it seems I was a bit too quick and completely misunderstood<br>
your problem.<br><br>The problem is that wavparse&#39;s sink pad is a sometimes pad which will be<br>added only later when data flow starts (-&gt; &#39;dynamic pads&#39;). The reason<br>for that is that wavparse needs to figure out the type of data first (it<br>
uses dynamic pads for historical reason related to decodebin/playbin, it<br>doesn&#39;t strictly have to, but we can&#39;t change that now). So there will<br>be no sink pad to link to after the element has been created, and you<br>
will need to do the linking to audioconvert or whatever in a pad-added<br>callback later.<br><br>Mad&#39;s sink pad on the other hand always exists, so you can link it right<br>away.<br><br>Still, I would recommend you just use uridecodebin/decodebin2/playbin2<br>
if that&#39;s an option.<br>
<div>
<div></div>
<div class="h5"><br>Cheers<br> -Tim<br><br><br><br><br>------------------------------------------------------------------------------<br>Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br><a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</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>