aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderH263.cpp
diff options
context:
space:
mode:
authorTianmi Chen <tianmi.chen@intel.com>2014-04-02 16:30:22 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:58 -0700
commit03118b9de04779e0aca0da6fe6fe5b0b0704a11c (patch)
treebd38e3b0aebcade6762d84313fd11a2762422c2c /videocodec/OMXVideoDecoderH263.cpp
parent41b0a4ad3d79b54a6899bec9603bb40537a2db5c (diff)
downloadandroid_hardware_intel_common_omx-components-03118b9de04779e0aca0da6fe6fe5b0b0704a11c.tar.gz
android_hardware_intel_common_omx-components-03118b9de04779e0aca0da6fe6fe5b0b0704a11c.tar.bz2
android_hardware_intel_common_omx-components-03118b9de04779e0aca0da6fe6fe5b0b0704a11c.zip
omx-component: set max buffer count in case of adaptive playback
BZ: 184541 set max buffer count in case of adaptive playback Change-Id: I7ee45256a9219458f11fda2981ab6ca532d9ff81 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderH263.cpp')
-rw-r--r--videocodec/OMXVideoDecoderH263.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderH263.cpp b/videocodec/OMXVideoDecoderH263.cpp
index 7e95125..b7e6f32 100644
--- a/videocodec/OMXVideoDecoderH263.cpp
+++ b/videocodec/OMXVideoDecoderH263.cpp
@@ -29,6 +29,7 @@ OMXVideoDecoderH263::OMXVideoDecoderH263() {
if (!mVideoDecoder) {
LOGE("createVideoDecoder failed for \"%s\"", H263_MIME_TYPE);
}
+ mNativeBufferCount = OUTPORT_NATIVE_BUFFER_COUNT;
BuildHandlerList();
}