aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuanjun Huang <yuanjun.huang@intel.com>2015-01-29 20:20:29 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-29 20:20:29 +0000
commite17a08456e639f667d256656920b5c0e99b82b85 (patch)
tree6d97c151c68fb8aa493852e36967701bd9637a90
parent51886a2b03b20de77dac773a69bc280064e5543f (diff)
parentcd73c9d1a30131aecaf31eba26456e55f06d75a4 (diff)
downloadpsb_video-e17a08456e639f667d256656920b5c0e99b82b85.tar.gz
am cd73c9d1: psb-video: Change the surface type to be uncached. to fix potential CTS issue such as: android.media.cts.EncodeDecodeTest#testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA
* commit 'cd73c9d1a30131aecaf31eba26456e55f06d75a4': psb-video: Change the surface type to be uncached. to fix potential CTS issue such as: android.media.cts.EncodeDecodeTest#testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA
-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,