summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/stream.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-19 18:25:33 -0800
committerMathias Agopian <mathias@google.com>2013-02-19 18:25:33 -0800
commita6843669d4da47755ce97fb85389d4d1c52b8197 (patch)
treece9b36fa01d3140cc7b2b7af91bcfb0dc6dea957 /cmds/stagefright/stream.cpp
parent2f8025eef6c681920579f75d298a262b12a80ac9 (diff)
downloadframeworks_av-a6843669d4da47755ce97fb85389d4d1c52b8197.zip
frameworks_av-a6843669d4da47755ce97fb85389d4d1c52b8197.tar.gz
frameworks_av-a6843669d4da47755ce97fb85389d4d1c52b8197.tar.bz2
replace getISurfaceTexture by getIGraphicBufferProducer
Change-Id: I723a3863558126f2635a544a39bb3ec88d499c60
Diffstat (limited to 'cmds/stagefright/stream.cpp')
-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 d49ab4a..dba67a9 100644
--- a/cmds/stagefright/stream.cpp
+++ b/cmds/stagefright/stream.cpp
@@ -374,7 +374,7 @@ int main(int argc, char **argv) {
service->create(client, 0);
if (player != NULL && player->setDataSource(source) == NO_ERROR) {
- player->setVideoSurfaceTexture(surface->getISurfaceTexture());
+ player->setVideoSurfaceTexture(surface->getIGraphicBufferProducer());
player->start();
client->waitForEOS();