summaryrefslogtreecommitdiffstats
path: root/sec_mm
diff options
context:
space:
mode:
Diffstat (limited to 'sec_mm')
-rw-r--r--sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.cpp b/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.cpp
index ea96e6f..d3ba70f 100644
--- a/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.cpp
+++ b/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.cpp
@@ -194,7 +194,7 @@ OMX_ERRORTYPE getAndroidNativeBuffer(OMX_HANDLETYPE hComponent, OMX_PTR Componen
pganbp = (GetAndroidNativeBufferUsageParams *)ComponentParameterStructure;
- pganbp->nUsage = GRALLOC_USAGE_PROTECTED; /* Need Change */
+ pganbp->nUsage = GRALLOC_USAGE_SW_WRITE_OFTEN;
ret = OMX_ErrorNone;
@@ -423,4 +423,3 @@ EXIT:
}
#endif
-