aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderVP8.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/OMXVideoDecoderVP8.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/OMXVideoDecoderVP8.cpp')
-rw-r--r--videocodec/OMXVideoDecoderVP8.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp
index 9121866..db50a42 100644
--- a/videocodec/OMXVideoDecoderVP8.cpp
+++ b/videocodec/OMXVideoDecoderVP8.cpp
@@ -29,6 +29,8 @@ OMXVideoDecoderVP8::OMXVideoDecoderVP8() {
if (!mVideoDecoder) {
LOGE("createVideoDecoder failed for \"%s\"", VP8_MIME_TYPE);
}
+ // Override default native buffer count defined in the base class
+ mNativeBufferCount = OUTPORT_NATIVE_BUFFER_COUNT;
BuildHandlerList();
}