summaryrefslogtreecommitdiffstats
path: root/cmds
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
commit9e1cdea45d40fa8cf95dd080943053856009054f (patch)
tree994c8f0800e7c636e0f5ce7dfab1d9bf082decb9 /cmds
parentfc900c922e219771d0cd3c075720d90026e1ca4a (diff)
downloadframeworks_av-9e1cdea45d40fa8cf95dd080943053856009054f.zip
frameworks_av-9e1cdea45d40fa8cf95dd080943053856009054f.tar.gz
frameworks_av-9e1cdea45d40fa8cf95dd080943053856009054f.tar.bz2
replace getISurfaceTexture by getIGraphicBufferProducer
Change-Id: I723a3863558126f2635a544a39bb3ec88d499c60
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 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();