From 784202ea115603004b067aacf6a57bf5d2a7d53b Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 15 Oct 2009 13:46:54 -0700 Subject: 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. --- cmds/stagefright/stagefright.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmds') diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 4d4d013..7dc99c1 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -273,7 +273,7 @@ int main(int argc, char **argv) { CHECK(service.get() != NULL); - sp omx = service->createOMX(); + sp omx = service->getOMX(); CHECK(omx.get() != NULL); const char *kMimeTypes[] = { @@ -319,11 +319,11 @@ int main(int argc, char **argv) { CHECK(service.get() != NULL); - sp omx = service->createOMX(); + sp omx = service->getOMX(); CHECK(omx.get() != NULL); List list; - omx->list_nodes(&list); + omx->listNodes(&list); for (List::iterator it = list.begin(); it != list.end(); ++it) { -- cgit v1.1