gstffmpegdec: Set the rank of the AAC decoder to NONE.

It will stay this way until the ffmpeg aac decoder can report before decoding
whether it can handle a given stream or not.
This commit is contained in:
Edward Hervey 2009-03-05 12:09:32 +01:00
parent ac82da060a
commit eeffd7b87f

View file

@ -2622,6 +2622,12 @@ gst_ffmpegdec_register (GstPlugin * plugin)
note: if you change this, see the code in gstdv.c in good/ext/dv. */
rank = GST_RANK_SECONDARY;
break;
case CODEC_ID_AAC:
/* The ffmpeg AAC decoder isn't complete, and there's no way to figure out
* before decoding whether it will support the given stream or not.
* We therefore set it to NONE until it can handle the full specs. */
rank = GST_RANK_NONE;
break;
default:
rank = GST_RANK_MARGINAL;
break;