summaryrefslogtreecommitdiffstats
path: root/media/libmedia/mediaplayer.cpp
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/libmedia/mediaplayer.cpp
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/libmedia/mediaplayer.cpp')
-rw-r--r--media/libmedia/mediaplayer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp
index f72300b..c2e1ddf 100644
--- a/media/libmedia/mediaplayer.cpp
+++ b/media/libmedia/mediaplayer.cpp
@@ -219,14 +219,6 @@ status_t MediaPlayer::getMetadata(bool update_only, bool apply_filter, Parcel *m
return mPlayer->getMetadata(update_only, apply_filter, metadata);
}
-status_t MediaPlayer::setVideoSurface(const sp<Surface>& surface)
-{
- LOGV("setVideoSurface");
- Mutex::Autolock _l(mLock);
- if (mPlayer == 0) return NO_INIT;
- return mPlayer->setVideoSurface(surface);
-}
-
status_t MediaPlayer::setVideoSurfaceTexture(
const sp<ISurfaceTexture>& surfaceTexture)
{