[gst-devel] Does playbin2 work with alsaspdifsink?

Akihiro TSUKADA tskd2 at yahoo.co.jp
Tue Feb 8 10:51:26 CET 2011


looking through the debug log,
I have noticed that the uridecodebin continued to auto-plug aacparse to the caps
"audio/mpeg, framed=true, mpeg=2", and then, instead of auto-plugging aac2spdif,
it (wrongly) auto-plugged an faad AAC decoder, which outputs the caps "audio/x-raw-...",
 and this caps naturally does not fit to alsaspdif, which requires "audio/x-iec958".

So, uridecodebin selected faad, not aac2spdif, but I assigned them the ranks of
MARGINAL and PRIMARY respectively.  In addition, I specified alsaspdif as an
custom audio-sink, and it requires the caps "audio/x-iec958".....

In order to prevent the above problem, I guess that
uridecodebin must have the "caps" property set in playbin2::activate_group()
or somewhere else. Is this right? or should aac2spdif or aacparse  do something?

Cheers
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/




More information about the gstreamer-devel mailing list