summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuanjun Huang <yuanjun.huang@intel.com>2015-01-28 08:29:00 +0800
committerThe Android Automerger <android-build@google.com>2015-01-29 12:26:40 -0800
commitda9cacb46d93adf85f65d28172f8321a9c9d832f (patch)
tree81e32195260be1624118fcec59f31665a23ac44d
parentd640886ce44885e2a70f4d31187d17f4ce08d52d (diff)
downloadandroid_hardware_intel_img_psb_video-cm-12.1.tar.gz
android_hardware_intel_img_psb_video-cm-12.1.tar.bz2
android_hardware_intel_img_psb_video-cm-12.1.zip
psb-video: Change the surface type to be uncached.cm-12.1
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>
-rw-r--r--src/android/psb_surface_gralloc.c2
1 files changed, 1 insertions, 1 deletions
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 @@ VAStatus psb_CreateSurfacesFromGralloc(
} 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,