diff options
| author | Chang Ying <ying.chang@intel.com> | 2013-09-16 17:42:40 +0800 |
|---|---|---|
| committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:53 -0700 |
| commit | a17ce0ade8374f31112c0e9209205c6fc53df49f (patch) | |
| tree | 6739cbe1b1a20fcc13b03c2c9f4e05df96fbd8f9 /videocodec/OMXVideoEncoderH263.cpp | |
| parent | 2ca24ee1b21cfa2e67494803720ec8c68187ab02 (diff) | |
| download | android_hardware_intel_common_omx-components-a17ce0ade8374f31112c0e9209205c6fc53df49f.tar.gz android_hardware_intel_common_omx-components-a17ce0ade8374f31112c0e9209205c6fc53df49f.tar.bz2 android_hardware_intel_common_omx-components-a17ce0ade8374f31112c0e9209205c6fc53df49f.zip | |
Configure SW H263 encoder working in sync mode
BZ: 136338
Configure SW H263 encoder working in sync mode
Change-Id: I06814d8c6cfceeb8444545aa3e8d0b2a21686957
Signed-off-by: Chang Ying <ying.chang@intel.com>
Reviewed-on: http://android.intel.com:8080/132212
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderH263.cpp')
| -rw-r--r-- | videocodec/OMXVideoEncoderH263.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/videocodec/OMXVideoEncoderH263.cpp b/videocodec/OMXVideoEncoderH263.cpp index c81e9ec..f2b3624 100644 --- a/videocodec/OMXVideoEncoderH263.cpp +++ b/videocodec/OMXVideoEncoderH263.cpp @@ -27,6 +27,9 @@ OMXVideoEncoderH263::OMXVideoEncoderH263() { BuildHandlerList(); mVideoEncoder = createVideoEncoder(H263_MIME_TYPE); if (!mVideoEncoder) LOGE("OMX_ErrorInsufficientResources"); +#ifdef SYNC_MODE + mSyncEncoding = OMX_TRUE; +#endif } OMXVideoEncoderH263::~OMXVideoEncoderH263() { |
