summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/OMXClient.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-10-15 13:46:54 -0700
committerAndreas Huber <andih@google.com>2009-10-16 11:22:43 -0700
commit784202ea115603004b067aacf6a57bf5d2a7d53b (patch)
tree0e32ad4b315f936a80ac1af63ae2e919e6ffe090 /media/libstagefright/OMXClient.cpp
parentd21b725627e68b8ffcae38729196e8c1bd5d0d15 (diff)
downloadframeworks_base-784202ea115603004b067aacf6a57bf5d2a7d53b.zip
frameworks_base-784202ea115603004b067aacf6a57bf5d2a7d53b.tar.gz
frameworks_base-784202ea115603004b067aacf6a57bf5d2a7d53b.tar.bz2
Reimplement the OMX backend for stagefright.
Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup. Changed APIs to conform to the rest of the system.
Diffstat (limited to 'media/libstagefright/OMXClient.cpp')
-rw-r--r--media/libstagefright/OMXClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/OMXClient.cpp b/media/libstagefright/OMXClient.cpp
index dba7a2a..9de873e 100644
--- a/media/libstagefright/OMXClient.cpp
+++ b/media/libstagefright/OMXClient.cpp
@@ -35,7 +35,7 @@ status_t OMXClient::connect() {
CHECK(service.get() != NULL);
- mOMX = service->createOMX();
+ mOMX = service->getOMX();
CHECK(mOMX.get() != NULL);
return OK;