[gst-cvs] gst-ffmpeg: gstffmpegdec: Set the rank of the AAC decoder to NONE.
Edward Hervey
bilboed at kemper.freedesktop.org
Thu Mar 5 03:11:34 PST 2009
Module: gst-ffmpeg
Branch: master
Commit: eeffd7b87feaa1e6076b6110419fd0455bf64b6f
URL: http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=eeffd7b87feaa1e6076b6110419fd0455bf64b6f
Author: Edward Hervey <bilboed at bilboed.com>
Date: Thu Mar 5 12:09:32 2009 +0100
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.
---
ext/ffmpeg/gstffmpegdec.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c
index 7d80931..638df3d 100644
--- a/ext/ffmpeg/gstffmpegdec.c
+++ b/ext/ffmpeg/gstffmpegdec.c
@@ -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;
More information about the Gstreamer-commits
mailing list