summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-12-11 17:03:12 -0800
committerJamie Gennis <jgennis@google.com>2012-12-11 17:03:12 -0800
commitaef79b0676d8f0ee8ef637ec8be5ba73225b038d (patch)
treee0c9b69d4dcaf6fa7709d3f1f2cac8d4b9ab77e7 /cmds
parentae162976dda428671af09a8fbc3f03173a7e6f3e (diff)
downloadframeworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.zip
frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.tar.gz
frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.tar.bz2
stop using a deprecated SurfaceTextureClient ctor
Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp2
1 files changed, 1 insertions, 1 deletions
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<SurfaceTexture> texture = new SurfaceTexture(0 /* tex */);
- gSurface = new SurfaceTextureClient(texture);
+ gSurface = new SurfaceTextureClient(texture->getBufferQueue());
}
CHECK_EQ((status_t)OK,