summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2013-08-06 15:54:17 -0700
committerYing Wang <wangying@google.com>2013-08-06 15:54:17 -0700
commit9e65879ebc633334bb061e8164c46602ad983c50 (patch)
tree0a5046a178e98c0d4057d816559b508243543a68 /cmds/stagefright
parentdeeef54487a34034dc0cfaab20b20d557224c07c (diff)
downloadframeworks_av-9e65879ebc633334bb061e8164c46602ad983c50.zip
frameworks_av-9e65879ebc633334bb061e8164c46602ad983c50.tar.gz
frameworks_av-9e65879ebc633334bb061e8164c46602ad983c50.tar.bz2
Fix build. last attempt.
Change-Id: Ib955134f90b78cfc0d31272021ad5907a41df708
Diffstat (limited to 'cmds/stagefright')
-rw-r--r--cmds/stagefright/stagefright.cpp2
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,