summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-10-25 13:45:00 -0700
committerAndreas Huber <andih@google.com>2011-10-28 09:39:23 -0700
commit3901e5d87573447db33fb9930871a1f5266a9b2c (patch)
tree2ed377c9705a41c95cbc6ea29d683cd646ff2dc8 /media/libstagefright/include
parent841fa37451fb74f3d5978a15aab606bbb67e8c39 (diff)
downloadframeworks_av-3901e5d87573447db33fb9930871a1f5266a9b2c.zip
frameworks_av-3901e5d87573447db33fb9930871a1f5266a9b2c.tar.gz
frameworks_av-3901e5d87573447db33fb9930871a1f5266a9b2c.tar.bz2
Remove surface legacy APIs and code.
All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r--media/libstagefright/include/AwesomePlayer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h
index 7d6bcad..c13d6cb 100644
--- a/media/libstagefright/include/AwesomePlayer.h
+++ b/media/libstagefright/include/AwesomePlayer.h
@@ -81,7 +81,6 @@ struct AwesomePlayer {
bool isPlaying() const;
- status_t setSurface(const sp<Surface> &surface);
status_t setSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture);
void setAudioSink(const sp<MediaPlayerBase::AudioSink> &audioSink);
status_t setLooping(bool shouldLoop);
@@ -154,7 +153,6 @@ private:
bool mUIDValid;
uid_t mUID;
- sp<Surface> mSurface;
sp<ANativeWindow> mNativeWindow;
sp<MediaPlayerBase::AudioSink> mAudioSink;