diff options
author | Andreas Huber <andih@google.com> | 2010-03-19 11:43:15 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-04-09 13:47:58 -0700 |
commit | 71c27d991ad9f07cc7e28545bf6cd2b133668cd5 (patch) | |
tree | f636095d8f397a9ef8f7ecb5b5bd9545ce56d038 /media/libstagefright/omx | |
parent | ab88ea9503e0d84d739e6f232ebe740a5b8959a8 (diff) | |
download | frameworks_base-71c27d991ad9f07cc7e28545bf6cd2b133668cd5.zip frameworks_base-71c27d991ad9f07cc7e28545bf6cd2b133668cd5.tar.gz frameworks_base-71c27d991ad9f07cc7e28545bf6cd2b133668cd5.tar.bz2 |
Various fixes to enable recording on passion and nexus1.
Change-Id: I75a461c9882e2449082ad754ee7b231c1ceec039
Diffstat (limited to 'media/libstagefright/omx')
-rw-r--r-- | media/libstagefright/omx/OMXNodeInstance.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp index c1a010c..5db516e 100644 --- a/media/libstagefright/omx/OMXNodeInstance.cpp +++ b/media/libstagefright/omx/OMXNodeInstance.cpp @@ -264,6 +264,8 @@ status_t OMXNodeInstance::useBuffer( return UNKNOWN_ERROR; } + CHECK_EQ(header->pAppPrivate, buffer_meta); + *buffer = header; addActiveBuffer(portIndex, *buffer); @@ -294,6 +296,8 @@ status_t OMXNodeInstance::allocateBuffer( return UNKNOWN_ERROR; } + CHECK_EQ(header->pAppPrivate, buffer_meta); + *buffer = header; *buffer_data = header->pBuffer; @@ -325,6 +329,8 @@ status_t OMXNodeInstance::allocateBufferWithBackup( return UNKNOWN_ERROR; } + CHECK_EQ(header->pAppPrivate, buffer_meta); + *buffer = header; addActiveBuffer(portIndex, *buffer); |