summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/AwesomePlayer.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2012-12-18 09:46:54 -0800
committerAndy McFadden <fadden@android.com>2012-12-18 13:31:57 -0800
commit8ba01021b573889802e67e029225a96f0dfa471a (patch)
tree110eca2effc73dcb2f46da71e9a0584e4af6e71e /media/libstagefright/include/AwesomePlayer.h
parent53bc0a2fc54330534330118edd5c393f39eff8ab (diff)
downloadframeworks_av-8ba01021b573889802e67e029225a96f0dfa471a.zip
frameworks_av-8ba01021b573889802e67e029225a96f0dfa471a.tar.gz
frameworks_av-8ba01021b573889802e67e029225a96f0dfa471a.tar.bz2
Rename ISurfaceTexture and SurfaceTexture
The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r--media/libstagefright/include/AwesomePlayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h
index 1422687..2306f31 100644
--- a/media/libstagefright/include/AwesomePlayer.h
+++ b/media/libstagefright/include/AwesomePlayer.h
@@ -36,7 +36,7 @@ struct MediaBuffer;
struct MediaExtractor;
struct MediaSource;
struct NuCachedSource2;
-struct ISurfaceTexture;
+struct IGraphicBufferProducer;
class DrmManagerClinet;
class DecryptHandle;
@@ -81,7 +81,7 @@ struct AwesomePlayer {
bool isPlaying() const;
- status_t setSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture);
+ status_t setSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer);
void setAudioSink(const sp<MediaPlayerBase::AudioSink> &audioSink);
status_t setLooping(bool shouldLoop);