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
commit03b268eac37ca2589bfff0bf58daf79d29cc14f4 (patch)
treedfb5d0de728a4faa531efc77e66093b48e4ac4f9 /media/libstagefright/omx
parentfe774a9c3ffe12979e182563b0e922ffc0ad20ef (diff)
downloadframeworks_av-03b268eac37ca2589bfff0bf58daf79d29cc14f4.zip
frameworks_av-03b268eac37ca2589bfff0bf58daf79d29cc14f4.tar.gz
frameworks_av-03b268eac37ca2589bfff0bf58daf79d29cc14f4.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);