summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-11-17 10:50:55 -0800
committerMarco Nelissen <marcone@google.com>2014-11-17 10:50:55 -0800
commit77e79a509d19ab50b1867fe3903b5a8fae450591 (patch)
tree881d068bdc54d4835665e48649165f07393caafa /media/libstagefright/omx
parent575174d62b665900203d70a4d410329b8918c2af (diff)
parente78a27ca9c701aa996eee0e47fa26dd69d80ffcf (diff)
downloadframeworks_av-77e79a509d19ab50b1867fe3903b5a8fae450591.zip
frameworks_av-77e79a509d19ab50b1867fe3903b5a8fae450591.tar.gz
frameworks_av-77e79a509d19ab50b1867fe3903b5a8fae450591.tar.bz2
resolved conflicts for merge of e78a27ca to lmp-mr1-dev-plus-aosp
Change-Id: If10a9cc17245f95d5e10b1507445abbb4020670e
Diffstat (limited to 'media/libstagefright/omx')
-rw-r--r--media/libstagefright/omx/OMX.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/media/libstagefright/omx/OMX.cpp b/media/libstagefright/omx/OMX.cpp
index 6d46eee..f8d38ff 100644
--- a/media/libstagefright/omx/OMX.cpp
+++ b/media/libstagefright/omx/OMX.cpp
@@ -245,8 +245,8 @@ status_t OMX::allocateNode(
instance->setHandle(*node, handle);
- mLiveNodes.add(observer->asBinder(), instance);
- observer->asBinder()->linkToDeath(this);
+ mLiveNodes.add(IInterface::asBinder(observer), instance);
+ IInterface::asBinder(observer)->linkToDeath(this);
return OK;
}
@@ -256,7 +256,7 @@ status_t OMX::freeNode(node_id node) {
{
Mutex::Autolock autoLock(mLock);
- ssize_t index = mLiveNodes.indexOfKey(instance->observer()->asBinder());
+ ssize_t index = mLiveNodes.indexOfKey(IInterface::asBinder(instance->observer()));
if (index < 0) {
// This could conceivably happen if the observer dies at roughly the
// same time that a client attempts to free the node explicitly.
@@ -265,7 +265,7 @@ status_t OMX::freeNode(node_id node) {
mLiveNodes.removeItemsAt(index);
}
- instance->observer()->asBinder()->unlinkToDeath(this);
+ IInterface::asBinder(instance->observer())->unlinkToDeath(this);
status_t err = instance->freeNode(mMaster);