From 95be24585f46229f551c529104b5e92fa4316b38 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 25 Oct 2011 13:45:00 -0700 Subject: Remove surface legacy APIs and code. All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6 --- include/media/IMediaPlayer.h | 1 - include/media/MediaPlayerInterface.h | 3 --- include/media/mediaplayer.h | 1 - 3 files changed, 5 deletions(-) (limited to 'include/media') diff --git a/include/media/IMediaPlayer.h b/include/media/IMediaPlayer.h index 0e2cdf7..e905903 100644 --- a/include/media/IMediaPlayer.h +++ b/include/media/IMediaPlayer.h @@ -40,7 +40,6 @@ public: const KeyedVector* headers) = 0; virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0; virtual status_t setDataSource(const sp& source) = 0; - virtual status_t setVideoSurface(const sp& surface) = 0; virtual status_t setVideoSurfaceTexture( const sp& surfaceTexture) = 0; virtual status_t prepareAsync() = 0; diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h index 4328d3c..80f43a3 100644 --- a/include/media/MediaPlayerInterface.h +++ b/include/media/MediaPlayerInterface.h @@ -117,9 +117,6 @@ public: return INVALID_OPERATION; } - // pass the buffered Surface to the media player service - virtual status_t setVideoSurface(const sp& surface) = 0; - // pass the buffered ISurfaceTexture to the media player service virtual status_t setVideoSurfaceTexture( const sp& surfaceTexture) = 0; diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h index 08835fb..e6a0cc5 100644 --- a/include/media/mediaplayer.h +++ b/include/media/mediaplayer.h @@ -170,7 +170,6 @@ public: status_t setDataSource(int fd, int64_t offset, int64_t length); status_t setDataSource(const sp &source); - status_t setVideoSurface(const sp& surface); status_t setVideoSurfaceTexture( const sp& surfaceTexture); status_t setListener(const sp& listener); -- cgit v1.1