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
commit318ad9c1d9d6515026dfc2c021359d27decaa7a1 (patch)
tree28a58c4e3f20528b01c2abd08ba5f62d8755650c /media/libstagefright/OMXClient.cpp
parent89e69da4d86348409994c9dafbbb2634ccd7c196 (diff)
downloadframeworks_av-318ad9c1d9d6515026dfc2c021359d27decaa7a1.zip
frameworks_av-318ad9c1d9d6515026dfc2c021359d27decaa7a1.tar.gz
frameworks_av-318ad9c1d9d6515026dfc2c021359d27decaa7a1.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;