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
commitffa92311fa6a80890aa0326012f4c48abc6ef119 (patch)
tree46427696185180a82c725fae898d8171f76beb29 /cmds
parente1cf3c41bd27b5ab7d8e70ef8dd6fcd0f5453568 (diff)
downloadframeworks_av-ffa92311fa6a80890aa0326012f4c48abc6ef119.zip
frameworks_av-ffa92311fa6a80890aa0326012f4c48abc6ef119.tar.gz
frameworks_av-ffa92311fa6a80890aa0326012f4c48abc6ef119.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,