diff options
author | Austin Hu <austin.hu@intel.com> | 2016-06-17 19:22:30 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-06-17 19:22:30 +0000 |
commit | fa0e271d788df5e55cfca08c4f9f18e4c6e10edb (patch) | |
tree | 061f9a41d73fa236327f4fc8cae33cebe4d6452d | |
parent | 23d498be4a12e94408c87b21b28834a011345e11 (diff) | |
parent | 86761fc8d86a6011f93bb040ac826f494a14d756 (diff) | |
download | utils-fa0e271d788df5e55cfca08c4f9f18e4c6e10edb.tar.gz |
Fixed the video playback glitch issues by hardware decoding of libva. am: 4a5e38d65e
am: 86761fc8d8
Change-Id: I5c996e2f7e02df4c97454c51648d6e8ea7a09d59
-rw-r--r-- | ISV/base/isv_bufmanager.cpp | 2 |
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 |