diff options
author | Jamie Gennis <jgennis@google.com> | 2012-12-12 10:58:38 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-12-12 10:58:39 -0800 |
commit | db88c7da6d6710dea336f3253126f7002f218340 (patch) | |
tree | d3d4cd0520516c119a1e571b6f97d966e29d205b /cmds | |
parent | 08470ab61d437289bee05257ef1edd8987ccf1dd (diff) | |
parent | aef79b0676d8f0ee8ef637ec8be5ba73225b038d (diff) | |
download | frameworks_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.cpp | 2 |
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, |