commit | 02fd609b7fd54c471ab1f5e77567d60c98e943d1 | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Tue Apr 12 13:02:28 2016 +0900 |
committer | Wonsik Kim <wonsik@google.com> | Tue Apr 12 13:02:28 2016 +0900 |
tree | 344c3471a54ea608222fad22be49c59d5921fa02 | |
parent | 25df0fc0328920c585eb30cc21eb85b74d103eb2 [diff] |
codecs: fix HEVC resolution change Bug: 28086758 Change-Id: I3c38b91365b67f2b2125bd1f0876b8080c3eaf64
diff --git a/media/libstagefright/codecs/hevcdec/SoftHEVC.cpp b/media/libstagefright/codecs/hevcdec/SoftHEVC.cpp index 7df6156..54736f8 100644 --- a/media/libstagefright/codecs/hevcdec/SoftHEVC.cpp +++ b/media/libstagefright/codecs/hevcdec/SoftHEVC.cpp
@@ -564,6 +564,8 @@ mChangingResolution = false; resetDecoder(); resetPlugin(); + mStride = outputBufferWidth(); + setParams(mStride); continue; }