diff options
author | Robert Shih <robertshih@google.com> | 2014-07-10 11:12:30 -0700 |
---|---|---|
committer | Robert Shih <robertshih@google.com> | 2014-07-16 16:06:21 -0700 |
commit | c20533c1a7772f61d904fad31e3998c055c03da5 (patch) | |
tree | 80a89f4d6646c0156aea2db170c44fcfd0e54d68 /media/java | |
parent | 015b123a8a248ad9a744c9aad22fbff01f102e77 (diff) | |
download | frameworks_base-c20533c1a7772f61d904fad31e3998c055c03da5.zip frameworks_base-c20533c1a7772f61d904fad31e3998c055c03da5.tar.gz frameworks_base-c20533c1a7772f61d904fad31e3998c055c03da5.tar.bz2 |
MediaRecorder: added constants for WEBM output
Change-Id: Iacbb55bda71bb6da98244255bf2a4c34c7342fb0
Diffstat (limited to 'media/java')
-rw-r--r-- | media/java/android/media/MediaRecorder.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/java/android/media/MediaRecorder.java b/media/java/android/media/MediaRecorder.java index 3917bf1..59307d0 100644 --- a/media/java/android/media/MediaRecorder.java +++ b/media/java/android/media/MediaRecorder.java @@ -299,6 +299,9 @@ public class MediaRecorder /** @hide H.264/AAC data encapsulated in MPEG2/TS */ public static final int OUTPUT_FORMAT_MPEG2TS = 8; + + /** VP8/VORBIS data in a WEBM container */ + public static final int WEBM = 9; }; /** @@ -321,6 +324,8 @@ public class MediaRecorder public static final int HE_AAC = 4; /** Enhanced Low Delay AAC (AAC-ELD) audio codec */ public static final int AAC_ELD = 5; + /** Ogg Vorbis audio codec */ + public static final int VORBIS = 6; } /** @@ -336,6 +341,7 @@ public class MediaRecorder public static final int H263 = 1; public static final int H264 = 2; public static final int MPEG_4_SP = 3; + public static final int VP8 = 4; } /** |