diff options
author | Andreas Huber <andih@google.com> | 2011-10-25 13:45:00 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-10-28 09:39:23 -0700 |
commit | 3901e5d87573447db33fb9930871a1f5266a9b2c (patch) | |
tree | 2ed377c9705a41c95cbc6ea29d683cd646ff2dc8 /cmds | |
parent | 841fa37451fb74f3d5978a15aab606bbb67e8c39 (diff) | |
download | frameworks_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')
-rw-r--r-- | cmds/stagefright/stream.cpp | 2 |
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(); |