omx: always set ion fds for encoder's csc target buffers
authorGreg Hackmann <ghackmann@google.com>
Fri, 30 Nov 2012 22:57:24 +0000 (14:57 -0800)
committerGreg Hackmann <ghackmann@google.com>
Thu, 10 Jan 2013 18:21:51 +0000 (10:21 -0800)
Change-Id: Ia465f8bcce7ea1b68088a9443d26d48bc90a24a3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
exynos_omx/openmax/exynos_omx/component/video/enc/Exynos_OMX_Venc.c

index bfc213c40752f2902cf00d9fa2b81b0420f62b20..f863f5c3d1c795fcdc1d76e6bace20c08c335d93 100644 (file)
@@ -104,6 +104,8 @@ OMX_ERRORTYPE Exynos_Input_CodecBufferToData(EXYNOS_OMX_BASECOMPONENT *pExynosCo
 
     pData->buffer.multiPlaneBuffer.dataBuffer[0] = pInputCodecBuffer->pVirAddr[0];
     pData->buffer.multiPlaneBuffer.dataBuffer[1] = pInputCodecBuffer->pVirAddr[1];
+    pData->buffer.multiPlaneBuffer.fd[0] = pInputCodecBuffer->fd[0];
+    pData->buffer.multiPlaneBuffer.fd[1] = pInputCodecBuffer->fd[1];
     pData->allocSize     = pInputCodecBuffer->bufferSize[0] + pInputCodecBuffer->bufferSize[1];
     pData->dataLen       = pInputCodecBuffer->dataSize;
     pData->usedDataLen   = 0;