From 0446b826177bd484e2fd6b814cb65f7de40c3b68 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 15 Sep 2009 15:50:31 -0700 Subject: [PATCH] The 8k chipset qcom decoders require that the input buffers be allocated using OMX_AllocateBuffer rather than OMX_UseBuffer for now. If they aren't, a later call to OMX_FreeBuffer crashes... --- media/libstagefright/OMXCodec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index 22c2f39879298..ba4c4c70b3bdb 100644 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp @@ -229,6 +229,7 @@ sp OMXCodec::Create( } if (!strncmp(componentName, "OMX.qcom.video.decoder.", 23)) { // XXX Required on P....on only. + quirks |= kRequiresAllocateBufferOnInputPorts; quirks |= kRequiresAllocateBufferOnOutputPorts; }