diff options
author | Andreas Huber <andih@google.com> | 2010-08-23 12:31:59 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-08-23 12:31:59 -0700 |
commit | f143cc1866737c2ac24f4b2d7e4b2e776be10d56 (patch) | |
tree | fc2be7d35ea17dd324aa8b90a380ae897b16578c /include | |
parent | 011df6ab59853b5e2f5654031d842fb1231198c0 (diff) | |
parent | 5daeb129a2c2ba3d14ccd94af283b5f561c783ea (diff) | |
download | frameworks_av-f143cc1866737c2ac24f4b2d7e4b2e776be10d56.zip frameworks_av-f143cc1866737c2ac24f4b2d7e4b2e776be10d56.tar.gz frameworks_av-f143cc1866737c2ac24f4b2d7e4b2e776be10d56.tar.bz2 |
Merge "Squashed commit of the following:"
Diffstat (limited to 'include')
-rw-r--r-- | include/media/IMediaPlayer.h | 4 | ||||
-rw-r--r-- | include/media/MediaPlayerInterface.h | 4 | ||||
-rw-r--r-- | include/media/PVPlayer.h | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/include/media/IMediaPlayer.h b/include/media/IMediaPlayer.h index af9a7ed..a1ce113 100644 --- a/include/media/IMediaPlayer.h +++ b/include/media/IMediaPlayer.h @@ -25,6 +25,7 @@ namespace android { class Parcel; class ISurface; +class Surface; class IMediaPlayer: public IInterface { @@ -33,7 +34,8 @@ public: virtual void disconnect() = 0; - virtual status_t setVideoSurface(const sp<ISurface>& surface) = 0; + virtual status_t setVideoISurface(const sp<ISurface>& surface) = 0; + virtual status_t setVideoSurface(const sp<Surface>& surface) = 0; virtual status_t prepareAsync() = 0; virtual status_t start() = 0; virtual status_t stop() = 0; diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h index 3662983..13c73ac 100644 --- a/include/media/MediaPlayerInterface.h +++ b/include/media/MediaPlayerInterface.h @@ -33,6 +33,7 @@ namespace android { class Parcel; class ISurface; +class Surface; template<typename T> class SortedVector; @@ -104,7 +105,8 @@ public: const KeyedVector<String8, String8> *headers = NULL) = 0; virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0; - virtual status_t setVideoSurface(const sp<ISurface>& surface) = 0; + virtual status_t setVideoISurface(const sp<ISurface>& surface) = 0; + virtual status_t setVideoSurface(const sp<Surface>& surface) = 0; virtual status_t prepare() = 0; virtual status_t prepareAsync() = 0; virtual status_t start() = 0; diff --git a/include/media/PVPlayer.h b/include/media/PVPlayer.h index df50981..657e7a6 100644 --- a/include/media/PVPlayer.h +++ b/include/media/PVPlayer.h @@ -43,7 +43,8 @@ public: const char *url, const KeyedVector<String8, String8> *headers); virtual status_t setDataSource(int fd, int64_t offset, int64_t length); - virtual status_t setVideoSurface(const sp<ISurface>& surface); + virtual status_t setVideoISurface(const sp<ISurface>& surface); + virtual status_t setVideoSurface(const sp<Surface>& surface); virtual status_t prepare(); virtual status_t prepareAsync(); virtual status_t start(); |