summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Hu <austin.hu@intel.com>2016-06-17 19:46:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-06-17 19:46:30 +0000
commite7f4103a2c9da1f81ac605ffd1be601b39d88b17 (patch)
tree061f9a41d73fa236327f4fc8cae33cebe4d6452d
parent89381413cb2bcea294224e1be0192da4f2445324 (diff)
parentfa0e271d788df5e55cfca08c4f9f18e4c6e10edb (diff)
downloadutils-e7f4103a2c9da1f81ac605ffd1be601b39d88b17.tar.gz
Fixed the video playback glitch issues by hardware decoding of libva. am: 4a5e38d65e am: 86761fc8d8
am: fa0e271d78 Change-Id: I64b0680874aae3d450c86c463f33df4b7fd840d2
-rw-r--r--ISV/base/isv_bufmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ISV/base/isv_bufmanager.cpp b/ISV/base/isv_bufmanager.cpp
index f6376ce..3b02ab4 100644
--- a/ISV/base/isv_bufmanager.cpp
+++ b/ISV/base/isv_bufmanager.cpp
@@ -89,7 +89,7 @@ status_t ISVBuffer::initBufferInfo(uint32_t hackFormat)
mColorFormat = info.format;
#else
IMG_native_handle_t* grallocHandle = (IMG_native_handle_t*)mGrallocHandle;
- mStride = grallocHandle->iWidth;
+ mStride = grallocHandle->aiStride[0];
mSurfaceHeight = grallocHandle->iHeight;
mColorFormat = (hackFormat != 0) ? hackFormat : grallocHandle->iFormat;
#endif