summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-10-25 13:45:00 -0700
committerAndreas Huber <andih@google.com>2011-10-28 09:39:23 -0700
commit3901e5d87573447db33fb9930871a1f5266a9b2c (patch)
tree2ed377c9705a41c95cbc6ea29d683cd646ff2dc8 /cmds/stagefright
parent841fa37451fb74f3d5978a15aab606bbb67e8c39 (diff)
downloadframeworks_av-3901e5d87573447db33fb9930871a1f5266a9b2c.zip
frameworks_av-3901e5d87573447db33fb9930871a1f5266a9b2c.tar.gz
frameworks_av-3901e5d87573447db33fb9930871a1f5266a9b2c.tar.bz2
Remove surface legacy APIs and code.
All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
Diffstat (limited to 'cmds/stagefright')
-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();