From 9e65879ebc633334bb061e8164c46602ad983c50 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 6 Aug 2013 15:54:17 -0700 Subject: Fix build. last attempt. Change-Id: Ib955134f90b78cfc0d31272021ad5907a41df708 --- cmds/stagefright/stagefright.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/stagefright') 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 bq = new BufferQueue(); sp texture = new GLConsumer(bq, 0 /* tex */); - gSurface = new Surface(texture->getBufferQueue()); + gSurface = new Surface(bq); } CHECK_EQ((status_t)OK, -- cgit v1.1