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 | 8ba01021b573889802e67e029225a96f0dfa471a (patch) | |
tree | 110eca2effc73dcb2f46da71e9a0584e4af6e71e /include/media/IMediaPlayer.h | |
parent | 53bc0a2fc54330534330118edd5c393f39eff8ab (diff) | |
download | frameworks_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 'include/media/IMediaPlayer.h')
-rw-r--r-- | include/media/IMediaPlayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/IMediaPlayer.h b/include/media/IMediaPlayer.h index 4ed1863..0cbd269 100644 --- a/include/media/IMediaPlayer.h +++ b/include/media/IMediaPlayer.h @@ -32,7 +32,7 @@ namespace android { class Parcel; class Surface; class IStreamSource; -class ISurfaceTexture; +class IGraphicBufferProducer; class IMediaPlayer: public IInterface { @@ -46,7 +46,7 @@ public: virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0; virtual status_t setDataSource(const sp<IStreamSource>& source) = 0; virtual status_t setVideoSurfaceTexture( - const sp<ISurfaceTexture>& surfaceTexture) = 0; + const sp<IGraphicBufferProducer>& bufferProducer) = 0; virtual status_t prepareAsync() = 0; virtual status_t start() = 0; virtual status_t stop() = 0; |