summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-12-12 10:58:38 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-12 10:58:39 -0800
commitdb88c7da6d6710dea336f3253126f7002f218340 (patch)
treed3d4cd0520516c119a1e571b6f97d966e29d205b /cmds
parent08470ab61d437289bee05257ef1edd8987ccf1dd (diff)
parentaef79b0676d8f0ee8ef637ec8be5ba73225b038d (diff)
downloadframeworks_av-db88c7da6d6710dea336f3253126f7002f218340.zip
frameworks_av-db88c7da6d6710dea336f3253126f7002f218340.tar.gz
frameworks_av-db88c7da6d6710dea336f3253126f7002f218340.tar.bz2
Merge "stop using a deprecated SurfaceTextureClient ctor"
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,