aboutsummaryrefslogtreecommitdiff
path: root/videodecoder/VideoDecoderAVC.cpp
diff options
context:
space:
mode:
authorXin Wang <xin1.wang@intel.com>2016-05-05 04:40:35 +0800
committerNick Desaulniers <ndesaulniers@google.com>2016-05-05 10:13:52 -0700
commit3ed03d0de15f3910f40ee799cafc1d6a9b309e8d (patch)
treedc5ca8f8e375dac7d148bc489763292a010cd8cc /videodecoder/VideoDecoderAVC.cpp
parent3558fce240d7994176f200e04acd0d9d6e5b646e (diff)
downloadlibmix-3ed03d0de15f3910f40ee799cafc1d6a9b309e8d.tar.gz
Fix cts h264 test error
change crop about h264 decoder bug: 27589011 bug: IMINAN-49451 Change-Id: I0b468e4abe5b7bff03b4377c2ec42bb5b75d0262 Signed-off-by: Xin Wang <xin1.wang@intel.com>
Diffstat (limited to 'videodecoder/VideoDecoderAVC.cpp')
-rw-r--r--videodecoder/VideoDecoderAVC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/videodecoder/VideoDecoderAVC.cpp b/videodecoder/VideoDecoderAVC.cpp
index 2b0fdf7..ca4b123 100644
--- a/videodecoder/VideoDecoderAVC.cpp
+++ b/videodecoder/VideoDecoderAVC.cpp
@@ -695,7 +695,7 @@ Decode_Status VideoDecoderAVC::startVA(vbp_data_h264 *data) {
// for 1080p, limit the total surface to 19, according the hardware limitation
// change the max surface number from 19->10 to workaround memory shortage
// remove the workaround
- if(mVideoFormatInfo.height == 1088 && DPBSize + AVC_EXTRA_SURFACE_NUMBER > 19) {
+ if(mVideoFormatInfo.surfaceHeight == 1088 && DPBSize + AVC_EXTRA_SURFACE_NUMBER > 19) {
DPBSize = 19 - AVC_EXTRA_SURFACE_NUMBER;
}