summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/stream.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-14 17:11:27 -0800
committerMathias Agopian <mathias@google.com>2013-02-15 12:47:35 -0800
commitb1e7cd156ca3e1747374e0d20cdd1ce467210453 (patch)
tree557f25ff5a0477f0cf0f89d4c21b0291371f09a2 /cmds/stagefright/stream.cpp
parent62ad9071cd61fc56355d3c2d25895382003ea362 (diff)
downloadframeworks_av-b1e7cd156ca3e1747374e0d20cdd1ce467210453.zip
frameworks_av-b1e7cd156ca3e1747374e0d20cdd1ce467210453.tar.gz
frameworks_av-b1e7cd156ca3e1747374e0d20cdd1ce467210453.tar.bz2
Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
Diffstat (limited to 'cmds/stagefright/stream.cpp')
-rw-r--r--cmds/stagefright/stream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/stagefright/stream.cpp b/cmds/stagefright/stream.cpp
index af6afe0..d49ab4a 100644
--- a/cmds/stagefright/stream.cpp
+++ b/cmds/stagefright/stream.cpp
@@ -35,6 +35,7 @@
#include <media/IMediaPlayerService.h>
#include <gui/ISurfaceComposer.h>
#include <gui/SurfaceComposerClient.h>
+#include <gui/Surface.h>
#include <fcntl.h>
#include <ui/DisplayInfo.h>
@@ -373,7 +374,7 @@ int main(int argc, char **argv) {
service->create(client, 0);
if (player != NULL && player->setDataSource(source) == NO_ERROR) {
- player->setVideoSurfaceTexture(surface->getSurfaceTexture());
+ player->setVideoSurfaceTexture(surface->getISurfaceTexture());
player->start();
client->waitForEOS();