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 | cc492bd388898f90cec4faae3c7fde561dd52239 (patch) | |
tree | 9cae82cd79e671b5f9515778be5cebc3ddb87706 /cmds | |
parent | 17cf30ef5b2464db562786e88b5c8daf33283091 (diff) | |
download | frameworks_av-cc492bd388898f90cec4faae3c7fde561dd52239.zip frameworks_av-cc492bd388898f90cec4faae3c7fde561dd52239.tar.gz frameworks_av-cc492bd388898f90cec4faae3c7fde561dd52239.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, |