OSDN Git Service

fix build
authorMathias Agopian <mathias@google.com>
Tue, 6 Aug 2013 23:05:27 +0000 (16:05 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 6 Aug 2013 23:05:27 +0000 (16:05 -0700)
Change-Id: I859bd75eb796b0cb8da30ad947776d3e38f3873f

cmds/stagefright/stagefright.cpp

index 529b96c..797e0b6 100644 (file)
@@ -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,