summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-11-08 08:48:31 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-08 08:48:31 -0800
commit936a981ba15d528a023311aa32f46446813551d9 (patch)
tree324a081cdeffe2566802e2224dfa9b9798182c05 /cmds
parente1a8a719c7c62fdb337b71f68844ae20042c2b79 (diff)
parent3901e5d87573447db33fb9930871a1f5266a9b2c (diff)
downloadframeworks_av-936a981ba15d528a023311aa32f46446813551d9.zip
frameworks_av-936a981ba15d528a023311aa32f46446813551d9.tar.gz
frameworks_av-936a981ba15d528a023311aa32f46446813551d9.tar.bz2
Merge "Remove surface legacy APIs and code." into ics-mr1
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stream.cpp b/cmds/stagefright/stream.cpp
index 2378345..bd430d1 100644
--- a/cmds/stagefright/stream.cpp
+++ b/cmds/stagefright/stream.cpp
@@ -360,7 +360,7 @@ int main(int argc, char **argv) {
service->create(getpid(), client, 0);
if (player != NULL && player->setDataSource(source) == NO_ERROR) {
- player->setVideoSurface(surface);
+ player->setVideoSurfaceTexture(surface->getSurfaceTexture());
player->start();
client->waitForEOS();