commit | b818309e1dc687e952b3151b71eecdf15ec92abf | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Tue Apr 12 22:31:41 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Apr 12 22:31:42 2016 +0000 |
tree | b3e2f2b0d7a3b99dece5424098ca838bd5e23aa9 | |
parent | 812acee2729a741ba7f6086388f4a0a868fbc077 [diff] | |
parent | 02fd609b7fd54c471ab1f5e77567d60c98e943d1 [diff] |
Merge "codecs: fix HEVC resolution change" into nyc-dev
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; }