From 212b97f9217423c9e6a7811d2ce518de6530b4a5 Mon Sep 17 00:00:00 2001 From: Haitao Ding Date: Tue, 21 Jul 2015 11:30:39 -0400 Subject: resolve hevc decoder crash issue Bug: 22618392 Remove tile stride reset to fix hevc frame drop issue Change-Id: I82d14f82ac4a17772026557356c8a835cf71d208 Signed-off-by: Haitao Ding --- src/psb_surface_attrib.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/psb_surface_attrib.c b/src/psb_surface_attrib.c index f892c70..4e1061d 100644 --- a/src/psb_surface_attrib.c +++ b/src/psb_surface_attrib.c @@ -76,12 +76,6 @@ VAStatus psb_surface_create_from_ub( psb_surface->stride_mode = STRIDE_1024; } else if (1280 == graphic_buffers->luma_stride) { psb_surface->stride_mode = STRIDE_1280; -#ifdef PSBVIDEO_MSVDX_DEC_TILING - if (graphic_buffers->tiling) { - psb_surface->stride_mode = STRIDE_2048; - psb_surface->stride = 2048; - } -#endif } else if (2048 == graphic_buffers->luma_stride) { psb_surface->stride_mode = STRIDE_2048; } else if (4096 == graphic_buffers->luma_stride) { -- cgit v1.2.3