diff options
author | Jamie Gennis <jgennis@google.com> | 2012-12-12 12:15:23 -0800 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2012-12-12 12:15:23 -0800 |
commit | 84b6440fa1d1274267deabe0bd8dc626b5548e4c (patch) | |
tree | b5284479445f82ecf482fe09c1638b2db2e962da /cmds | |
parent | dbd405dae1e2d2f88e529cc0d1fbdb0a676c4d7a (diff) | |
download | frameworks_av-84b6440fa1d1274267deabe0bd8dc626b5548e4c.zip frameworks_av-84b6440fa1d1274267deabe0bd8dc626b5548e4c.tar.gz frameworks_av-84b6440fa1d1274267deabe0bd8dc626b5548e4c.tar.bz2 |
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, |