Skip to content

Commit

Permalink
mm-video: venc: allocate input buffers as uncached
Browse files Browse the repository at this point in the history
YUV data written by CPU producers (MediaCodec apps) are not

Bug: 10192531

Change-Id: I1975b9b63ad4af474340ac366af32c8c3863b4bb
  • Loading branch information
Praveen Chavan authored and Vineetas committed Oct 17, 2013
1 parent ac64d24 commit 99faaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm-video-legacy/vidc/venc/src/omx_video_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ OMX_ERRORTYPE omx_video::allocate_input_buffer(
#ifdef USE_ION
m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize,
&m_pInput_ion[i].ion_alloc_data,
&m_pInput_ion[i].fd_ion_data,ION_FLAG_CACHED);
&m_pInput_ion[i].fd_ion_data,0);
if(m_pInput_ion[i].ion_device_fd < 0) {
DEBUG_PRINT_ERROR("\nERROR:ION device open() Failed");
return OMX_ErrorInsufficientResources;
Expand Down

0 comments on commit 99faaf7

Please sign in to comment.