diff options
author | Andreas Huber <andih@google.com> | 2009-09-15 15:50:31 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2009-09-15 15:50:31 -0700 |
commit | 269091da58951736dc2f4c8b74886b6a9aa12be1 (patch) | |
tree | e7103299292b98c051b68d8f19fd6be861de55d2 | |
parent | 430209e4d4d767e96d1e59a705d1b8b6624cb1e8 (diff) | |
download | frameworks_av-269091da58951736dc2f4c8b74886b6a9aa12be1.zip frameworks_av-269091da58951736dc2f4c8b74886b6a9aa12be1.tar.gz frameworks_av-269091da58951736dc2f4c8b74886b6a9aa12be1.tar.bz2 |
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...
-rw-r--r-- | media/libstagefright/OMXCodec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index 22c2f39..ba4c4c7 100644 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp @@ -229,6 +229,7 @@ sp<OMXCodec> OMXCodec::Create( } if (!strncmp(componentName, "OMX.qcom.video.decoder.", 23)) { // XXX Required on P....on only. + quirks |= kRequiresAllocateBufferOnInputPorts; quirks |= kRequiresAllocateBufferOnOutputPorts; } |