diff options
| author | Liu Bolun <bolun.liu@intel.com> | 2013-12-31 13:04:02 +0800 |
|---|---|---|
| committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:57 -0700 |
| commit | 63ee173ed94850f02f22d0c1143ebfecb1066597 (patch) | |
| tree | 1a3d46f0fc688ab9f12cc0939483b31498dec9e1 /videocodec/OMXVideoEncoderVP8.cpp | |
| parent | 73bfa35df91313e0dd940b0c68db9805eb11c21f (diff) | |
| download | android_hardware_intel_common_omx-components-63ee173ed94850f02f22d0c1143ebfecb1066597.tar.gz android_hardware_intel_common_omx-components-63ee173ed94850f02f22d0c1143ebfecb1066597.tar.bz2 android_hardware_intel_common_omx-components-63ee173ed94850f02f22d0c1143ebfecb1066597.zip | |
Enable VP8 HW encode for screen record
BZ: 161797
Change the mime type from "video/x-webm" to "video/x-vnd.on2.vp8"
to enable access VP8 HW encoder via MediaCodec::CreateByType.
Change-Id: I7256256fd43e32442059ee2cb1f405d528596aab
Signed-off-by: Liu Bolun <bolun.liu@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderVP8.cpp')
| -rw-r--r-- | videocodec/OMXVideoEncoderVP8.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/videocodec/OMXVideoEncoderVP8.cpp b/videocodec/OMXVideoEncoderVP8.cpp index 4f82d03..bb69900 100644 --- a/videocodec/OMXVideoEncoderVP8.cpp +++ b/videocodec/OMXVideoEncoderVP8.cpp @@ -4,7 +4,7 @@ #include <utils/Log.h> #include "OMXVideoEncoderVP8.h" -static const char *VP8_MIME_TYPE = "video/x-webm"; +static const char *VP8_MIME_TYPE = "video/x-vnd.on2.vp8"; OMXVideoEncoderVP8::OMXVideoEncoderVP8() { LOGV("OMXVideoEncoderVP8 is constructed."); |
