From 3cf4e43cdd391502690c07e08e805aa8ff5db0c0 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 4 May 2010 11:46:42 -0700 Subject: 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 --- media/libstagefright/DataSource.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'media/libstagefright/DataSource.cpp') 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 #include @@ -92,6 +93,7 @@ void DataSource::RegisterDefaultSniffers() { RegisterSniffer(SniffMPEG4); RegisterSniffer(SniffAMR); RegisterSniffer(SniffWAV); + RegisterSniffer(SniffVorbis); } // static -- cgit v1.1