Suppose decodesink has higher rank than decode, and playbin2 will choose decodesink, so how will playbin select ? select decodesink and fail?<br><br>Zhao Liang<br><br><div class="gmail_quote">2009/2/27 Stefan Kost <span dir="ltr"><<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Liang Zhao schrieb:<br>
<div class="Ih2E3d">> Can playbin2 support both decoder and decodesink? I mean if both of them<br>
> are available, can I decide the playbin2 behavior that whic element can<br>
> be used by some methods? I find some signals in decodebin2, such as<br>
> "autoplug-factories", "autoplug-select", can I use it?<br>
><br>
</div>For autoplugging, it is never good to have alternatives. Choose the best way to<br>
decode files for you platform and ship that set of needed plugins. If There are<br>
multiple decoders for the same format, autoplugging will pick whater has the<br>
highes rank and if even there are multiple, it takes what it find first.<br>
<br>
Stefan<br>
<br>
> Zhao Liang<br>
><br>
> 2009/2/21 Michael Smith <<a href="mailto:msmith@xiph.org">msmith@xiph.org</a> <mailto:<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>>><br>
<div class="Ih2E3d">><br>
> On Fri, Feb 20, 2009 at 5:35 PM, Liang Zhao <<a href="mailto:liangzhao.bit@gmail.com">liangzhao.bit@gmail.com</a><br>
</div><div class="Ih2E3d">> <mailto:<a href="mailto:liangzhao.bit@gmail.com">liangzhao.bit@gmail.com</a>>> wrote:<br>
> > Hi Mike,<br>
> ><br>
> > Thanks.<br>
> ><br>
> > so playbin must add a audiobin after decoder? If that, that means our<br>
> > audiosink can not work with playbin?<br>
><br>
> playbin always decodes the audio fully, to raw PCM. So you probably<br>
> can't use it in your case.<br>
><br>
> ><br>
> > playbin2 is not stable in its description, and not used by many<br>
> players such<br>
> > as totem, so what can I do?<br>
><br>
> It's not guaranteed to be entirely API-stable (properties, signals,<br>
> might change in future versions), but as far as code stability goes,<br>
> it's perfectly ok.<br>
><br>
> Some players do use it (e.g. Songbird, the player I work on, uses it<br>
> on windows, linux, and macos).<br>
><br>
> Mike<br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
><br>
> ------------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA<br>
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise<br>
> -Strategies to boost innovation and cut costs with open source participation<br>
> -Receive a $600 discount off the registration fee with the source code: SFAD<br>
> <a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Gstreamer-embedded mailing list<br>
> <a href="mailto:Gstreamer-embedded@lists.sourceforge.net">Gstreamer-embedded@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded</a><br>
<br>
</div></div></blockquote></div><br>