diff options
author | Andreas Huber <andih@google.com> | 2010-05-07 10:35:13 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-05-07 12:01:45 -0700 |
commit | ee7ff20e69498ebd53dd9717a0f984188341a75e (patch) | |
tree | 2338621414d60b23ec50dd5f28fc413fb957a59e /media/libstagefright/OMXCodec.cpp | |
parent | f9325834de1ae004212aec2fd03445b4eebfa766 (diff) | |
download | frameworks_av-ee7ff20e69498ebd53dd9717a0f984188341a75e.zip frameworks_av-ee7ff20e69498ebd53dd9717a0f984188341a75e.tar.gz frameworks_av-ee7ff20e69498ebd53dd9717a0f984188341a75e.tar.bz2 |
A new OggExtractor/VorbisDecoder combo to support approximate seeking.
Change-Id: Id5d0c1c8b1adc62896bb5ed951f7b5cfda811e95
related-to-bug: 2654400
Diffstat (limited to 'media/libstagefright/OMXCodec.cpp')
-rw-r--r-- | media/libstagefright/OMXCodec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index 6ed384c..69da7ef 100644 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp @@ -25,6 +25,7 @@ #include "include/AVCDecoder.h" #include "include/M4vH263Decoder.h" #include "include/MP3Decoder.h" +#include "include/VorbisDecoder.h" #include "include/ESDS.h" @@ -67,6 +68,7 @@ FACTORY_CREATE(AMRWBDecoder) FACTORY_CREATE(AACDecoder) FACTORY_CREATE(AVCDecoder) FACTORY_CREATE(M4vH263Decoder) +FACTORY_CREATE(VorbisDecoder) FACTORY_CREATE(AMRNBEncoder) static sp<MediaSource> InstantiateSoftwareCodec( @@ -83,6 +85,7 @@ static sp<MediaSource> InstantiateSoftwareCodec( FACTORY_REF(AACDecoder) FACTORY_REF(AVCDecoder) FACTORY_REF(M4vH263Decoder) + FACTORY_REF(VorbisDecoder) FACTORY_REF(AMRNBEncoder) }; for (size_t i = 0; @@ -123,6 +126,7 @@ static const CodecInfo kDecoderInfo[] = { { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.TI.Video.Decoder" }, { MEDIA_MIMETYPE_VIDEO_AVC, "AVCDecoder" }, // { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.PV.avcdec" }, + { MEDIA_MIMETYPE_AUDIO_VORBIS, "VorbisDecoder" }, }; static const CodecInfo kEncoderInfo[] = { |