From db2722a319d91a869ebc4dd618edbef43fd5b738 Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Tue, 24 Jun 2014 13:04:08 -0700 Subject: GLConsumer: Stop using default constructor params Removes the dependency on default constructor parameters for GLConsumer so that a different constructor prototype can safely be added. Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680 --- cmds/stagefright/stagefright.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmds/stagefright') diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index b70afe6..81edcb4 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -942,7 +942,9 @@ int main(int argc, char **argv) { sp producer; sp consumer; BufferQueue::createBufferQueue(&producer, &consumer); - sp texture = new GLConsumer(consumer, 0 /* tex */); + sp texture = new GLConsumer(consumer, 0 /* tex */, + GLConsumer::TEXTURE_EXTERNAL, true /* useFenceSync */, + false /* isControlledByApp */); gSurface = new Surface(producer); } -- cgit v1.1