diff options
Diffstat (limited to 'cmds/stagefright/stagefright.cpp')
-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 529b96c..797e0b6 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -939,7 +939,7 @@ int main(int argc, char **argv) { sp<BufferQueue> bq = new BufferQueue(); sp<GLConsumer> texture = new GLConsumer(bq, 0 /* tex */); - gSurface = new Surface(texture->getBufferQueue()); + gSurface = new Surface(bq); } CHECK_EQ((status_t)OK, |