summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-12-12 12:09:09 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-12 12:09:09 -0800
commit17cf30ef5b2464db562786e88b5c8daf33283091 (patch)
tree2f39f701bab0461867f8ebb372b94d872b21fa3c /cmds
parentaa2136b16936a7faaa1dd4b1dd94e6bec1ebe773 (diff)
parent1bca151a35ecbf9d6b32b296a7f8642d8feb13fd (diff)
downloadframeworks_av-17cf30ef5b2464db562786e88b5c8daf33283091.zip
frameworks_av-17cf30ef5b2464db562786e88b5c8daf33283091.tar.gz
frameworks_av-17cf30ef5b2464db562786e88b5c8daf33283091.tar.bz2
Merge "Revert "stop using a deprecated SurfaceTextureClient ctor""
Diffstat (limited to 'cmds')
-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 148b66e..1e0e7f8 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -941,7 +941,7 @@ int main(int argc, char **argv) {
CHECK(useSurfaceTexAlloc);
sp<SurfaceTexture> texture = new SurfaceTexture(0 /* tex */);
- gSurface = new SurfaceTextureClient(texture->getBufferQueue());
+ gSurface = new SurfaceTextureClient(texture);
}
CHECK_EQ((status_t)OK,