diff options
author | Andreas Huber <andih@google.com> | 2010-05-04 11:46:42 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-05-04 11:58:16 -0700 |
commit | 3cf4e43cdd391502690c07e08e805aa8ff5db0c0 (patch) | |
tree | 3792432de7d3cf66218e1ed518bfbb32d7d9d4b7 /media/libstagefright/DataSource.cpp | |
parent | 0b5ba9eeed56a80fed3735f5cd4951477fda79f0 (diff) | |
download | frameworks_av-3cf4e43cdd391502690c07e08e805aa8ff5db0c0.zip frameworks_av-3cf4e43cdd391502690c07e08e805aa8ff5db0c0.tar.gz frameworks_av-3cf4e43cdd391502690c07e08e805aa8ff5db0c0.tar.bz2 |
Support for Ogg Vorbis decoding in stagefright.
Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright.
Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8
related-to-bug: 2654400
Diffstat (limited to 'media/libstagefright/DataSource.cpp')
-rw-r--r-- | media/libstagefright/DataSource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/DataSource.cpp b/media/libstagefright/DataSource.cpp index 86e4bfe..5db3201 100644 --- a/media/libstagefright/DataSource.cpp +++ b/media/libstagefright/DataSource.cpp @@ -18,6 +18,7 @@ #include "include/MP3Extractor.h" #include "include/MPEG4Extractor.h" #include "include/WAVExtractor.h" +#include "include/VorbisExtractor.h" #include <media/stagefright/CachingDataSource.h> #include <media/stagefright/DataSource.h> @@ -92,6 +93,7 @@ void DataSource::RegisterDefaultSniffers() { RegisterSniffer(SniffMPEG4); RegisterSniffer(SniffAMR); RegisterSniffer(SniffWAV); + RegisterSniffer(SniffVorbis); } // static |