summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-12-12 12:08:51 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-12 12:08:51 -0800
commitaf0351f930459098d98792d569b1436c43c536d8 (patch)
tree23916ae7df8025a16a1d7e5b26a0e699e0236fb6 /cmds
parentaef79b0676d8f0ee8ef637ec8be5ba73225b038d (diff)
downloadframeworks_av-af0351f930459098d98792d569b1436c43c536d8.zip
frameworks_av-af0351f930459098d98792d569b1436c43c536d8.tar.gz
frameworks_av-af0351f930459098d98792d569b1436c43c536d8.tar.bz2
Revert "stop using a deprecated SurfaceTextureClient ctor"
This reverts commit aef79b0676d8f0ee8ef637ec8be5ba73225b038d Change-Id: I5f6cf4d6d5dc895a9426f212dfc8a25b4bf2d23a
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 148b66e..1e0e7f8 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->getBufferQueue());
+ gSurface = new SurfaceTextureClient(texture);
}
CHECK_EQ((status_t)OK,