<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=887345001-02032009><FONT face=宋体
color=#0000ff size=2>From code, I find decodebin will not put decodesink
into its element factory, decodebin only support elements with klass is
"Demuxer", "Parser", "Decoder", "Depayloader".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=887345001-02032009><FONT face=宋体
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=887345001-02032009><FONT face=宋体
color=#0000ff size=2>so playbin will select decoder, not
decodesink.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Liang Zhao
[mailto:liangzhao.bit@gmail.com] <BR><B>Sent:</B> Friday, February 27, 2009 2:37
PM<BR><B>To:</B> Stefan Kost<BR><B>Cc:</B>
gstreamer-devel@lists.sourceforge.net;
gstreamer-embedded@lists.sourceforge.net<BR><B>Subject:</B> Re: [gst-embedded]
can playbin handle the sink with decodingfunctions?<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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></BODY></HTML>