summaryrefslogtreecommitdiffstats
path: root/include/media/PVPlayer.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-01-28 11:19:57 -0800
committerAndreas Huber <andih@google.com>2010-01-28 11:52:43 -0800
commit256430093679e1d62b54fb0c852126e54d162f6f (patch)
tree028c49d18e0e77bc69f8967dda61619ee324f7a2 /include/media/PVPlayer.h
parent75d76bcf52587e4bfe00b7377d100510a3489674 (diff)
downloadframeworks_base-256430093679e1d62b54fb0c852126e54d162f6f.zip
frameworks_base-256430093679e1d62b54fb0c852126e54d162f6f.tar.gz
frameworks_base-256430093679e1d62b54fb0c852126e54d162f6f.tar.bz2
API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played.
related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
Diffstat (limited to 'include/media/PVPlayer.h')
-rw-r--r--include/media/PVPlayer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/PVPlayer.h b/include/media/PVPlayer.h
index 8a66152..df50981 100644
--- a/include/media/PVPlayer.h
+++ b/include/media/PVPlayer.h
@@ -38,7 +38,10 @@ public:
virtual ~PVPlayer();
virtual status_t initCheck();
- virtual status_t setDataSource(const char *url);
+
+ virtual status_t setDataSource(
+ 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 prepare();