summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/OMX.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-01-31 11:16:24 -0800
committerAndreas Huber <andih@google.com>2012-01-31 11:16:24 -0800
commitd459b485c61bd3e7fd81c5cd3af8ada27fc3e8d3 (patch)
tree394810d0fda09babebb89e1eff80ec54509c5a14 /media/libstagefright/omx/OMX.cpp
parentbb62819aa34b0e89090ccc50e5915e25bc137583 (diff)
downloadframeworks_av-d459b485c61bd3e7fd81c5cd3af8ada27fc3e8d3.zip
frameworks_av-d459b485c61bd3e7fd81c5cd3af8ada27fc3e8d3.tar.gz
frameworks_av-d459b485c61bd3e7fd81c5cd3af8ada27fc3e8d3.tar.bz2
Slighly improve the API to discover if the OMX stack is running in the local
process. Change-Id: Idd3c2f0d4a9542af01a3fdfd3b0bfab90e083505
Diffstat (limited to 'media/libstagefright/omx/OMX.cpp')
-rw-r--r--media/libstagefright/omx/OMX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/omx/OMX.cpp b/media/libstagefright/omx/OMX.cpp
index 694b12d..ace883c 100644
--- a/media/libstagefright/omx/OMX.cpp
+++ b/media/libstagefright/omx/OMX.cpp
@@ -185,7 +185,7 @@ void OMX::binderDied(const wp<IBinder> &the_late_who) {
instance->onObserverDied(mMaster);
}
-bool OMX::livesLocally(pid_t pid) {
+bool OMX::livesLocally(node_id node, pid_t pid) {
return pid == getpid();
}