summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Hu <austin.hu@intel.com>2016-06-17 19:19:26 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-06-17 19:19:26 +0000
commit86761fc8d86a6011f93bb040ac826f494a14d756 (patch)
tree061f9a41d73fa236327f4fc8cae33cebe4d6452d
parent473164dbc4bd12ed0498b5acf62f2aea8ddb0388 (diff)
parent4a5e38d65e3f21def5373c8ccce936473845d888 (diff)
downloadutils-86761fc8d86a6011f93bb040ac826f494a14d756.tar.gz
Fixed the video playback glitch issues by hardware decoding of libva.
am: 4a5e38d65e Change-Id: I8d1a882e189945a32488af436e613aa9e02b1911
-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