diff options
| author | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:03:12 -0800 | 
|---|---|---|
| committer | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:03:12 -0800 | 
| commit | aef79b0676d8f0ee8ef637ec8be5ba73225b038d (patch) | |
| tree | e0c9b69d4dcaf6fa7709d3f1f2cac8d4b9ab77e7 /cmds/stagefright | |
| parent | ae162976dda428671af09a8fbc3f03173a7e6f3e (diff) | |
| download | frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.zip frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.tar.gz frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.tar.bz2  | |
stop using a deprecated SurfaceTextureClient ctor
Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2
Diffstat (limited to 'cmds/stagefright')
| -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,  | 
