psb-video: Change the surface type to be uncached.
to fix potential CTS issue such as:
android.media.cts.EncodeDecodeTest#testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA
Bug: 19183778
Bug: 19184881
Change-Id: Ifd7a4ccafeaec5fe7b84f18b4417e95822dc851f
Signed-off-by: Yuanjun Huang <yuanjun.huang@intel.com>
diff --git a/src/android/psb_surface_gralloc.c b/src/android/psb_surface_gralloc.c
index ff7699b..abbbf6b 100644
--- a/src/android/psb_surface_gralloc.c
+++ b/src/android/psb_surface_gralloc.c
@@ -370,7 +370,7 @@
} else {
int cache_flag = PSB_USER_BUFFER_UNCACHED;
#ifdef PSBVIDEO_MRFL
- cache_flag = 0;
+ //cache_flag = 0;
#endif
vaStatus = psb_surface_create_from_ub(driver_data, width, height, fourcc,
(VASurfaceAttributeTPI *)external_buffers, psb_surface,