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
commit95be24585f46229f551c529104b5e92fa4316b38 (patch)
tree657706c23c41575c0a6bb092d2b7f42d3e67ea3b /cmds/stagefright
parent27ed12492dfbec6ec67b66ff3cf60febce370b01 (diff)
downloadframeworks_base-95be24585f46229f551c529104b5e92fa4316b38.zip
frameworks_base-95be24585f46229f551c529104b5e92fa4316b38.tar.gz
frameworks_base-95be24585f46229f551c529104b5e92fa4316b38.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();