summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MediaDefs.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-05-04 11:46:42 -0700
committerAndreas Huber <andih@google.com>2010-05-04 11:58:16 -0700
commit3cf4e43cdd391502690c07e08e805aa8ff5db0c0 (patch)
tree3792432de7d3cf66218e1ed518bfbb32d7d9d4b7 /media/libstagefright/MediaDefs.cpp
parent0b5ba9eeed56a80fed3735f5cd4951477fda79f0 (diff)
downloadframeworks_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/MediaDefs.cpp')
-rw-r--r--media/libstagefright/MediaDefs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/MediaDefs.cpp b/media/libstagefright/MediaDefs.cpp
index 3a89170..db18ab6 100644
--- a/media/libstagefright/MediaDefs.cpp
+++ b/media/libstagefright/MediaDefs.cpp
@@ -34,5 +34,6 @@ const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw";
const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mpeg4";
const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/wav";
+const char *MEDIA_MIMETYPE_CONTAINER_VORBIS = "application/ogg";
} // namespace android