diff options
author | Andy McFadden <fadden@android.com> | 2012-12-18 09:46:54 -0800 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2012-12-18 13:31:57 -0800 |
commit | 484566c410afdfbc4b6bc5aa1732aef37428a5b8 (patch) | |
tree | 5ce1fc6a755c32f0b6ff362fe1fc5bf0d9ee2b14 /include/media/mediaplayer.h | |
parent | 34d7db5dd43000cac7e8e156d79e9f97ccbb8990 (diff) | |
download | frameworks_av-484566c410afdfbc4b6bc5aa1732aef37428a5b8.zip frameworks_av-484566c410afdfbc4b6bc5aa1732aef37428a5b8.tar.gz frameworks_av-484566c410afdfbc4b6bc5aa1732aef37428a5b8.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 'include/media/mediaplayer.h')
-rw-r--r-- | include/media/mediaplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h index d753eba..e5aa033 100644 --- a/include/media/mediaplayer.h +++ b/include/media/mediaplayer.h @@ -33,7 +33,7 @@ class ANativeWindow; namespace android { class Surface; -class ISurfaceTexture; +class IGraphicBufferProducer; enum media_event_type { MEDIA_NOP = 0, // interface test message @@ -199,7 +199,7 @@ public: status_t setDataSource(int fd, int64_t offset, int64_t length); status_t setDataSource(const sp<IStreamSource> &source); status_t setVideoSurfaceTexture( - const sp<ISurfaceTexture>& surfaceTexture); + const sp<IGraphicBufferProducer>& bufferProducer); status_t setListener(const sp<MediaPlayerListener>& listener); status_t prepare(); status_t prepareAsync(); |