summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-03-19 11:43:15 -0700
committerAndreas Huber <andih@google.com>2010-04-09 13:47:58 -0700
commit71c27d991ad9f07cc7e28545bf6cd2b133668cd5 (patch)
treef636095d8f397a9ef8f7ecb5b5bd9545ce56d038 /media/libstagefright/omx
parentab88ea9503e0d84d739e6f232ebe740a5b8959a8 (diff)
downloadframeworks_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.cpp6
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);