From aef79b0676d8f0ee8ef637ec8be5ba73225b038d Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Tue, 11 Dec 2012 17:03:12 -0800 Subject: stop using a deprecated SurfaceTextureClient ctor Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2 --- cmds/stagefright/stagefright.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/stagefright') diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 1e0e7f8..148b66e 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -941,7 +941,7 @@ int main(int argc, char **argv) { CHECK(useSurfaceTexAlloc); sp texture = new SurfaceTexture(0 /* tex */); - gSurface = new SurfaceTextureClient(texture); + gSurface = new SurfaceTextureClient(texture->getBufferQueue()); } CHECK_EQ((status_t)OK, -- cgit v1.1