summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/StagefrightPlayer.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-01-27 16:49:05 -0800
committerAndreas Huber <andih@google.com>2010-01-28 13:04:28 -0800
commit5561ccf4a8db88a2e44eac1b3ed13b4ff53a7f20 (patch)
tree0a98e19ea4a0721f2cc0e763203a69565eea6e2e /media/libmediaplayerservice/StagefrightPlayer.cpp
parent2db8455d8f4468a637109d31f319ce02d9d743ec (diff)
downloadframeworks_av-5561ccf4a8db88a2e44eac1b3ed13b4ff53a7f20.zip
frameworks_av-5561ccf4a8db88a2e44eac1b3ed13b4ff53a7f20.tar.gz
frameworks_av-5561ccf4a8db88a2e44eac1b3ed13b4ff53a7f20.tar.bz2
Support the specification of additional HTTP headers in the creation of a DataSource.
related-to-bug: 2393577
Diffstat (limited to 'media/libmediaplayerservice/StagefrightPlayer.cpp')
-rw-r--r--media/libmediaplayerservice/StagefrightPlayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libmediaplayerservice/StagefrightPlayer.cpp b/media/libmediaplayerservice/StagefrightPlayer.cpp
index 3135d0c..f42d55b 100644
--- a/media/libmediaplayerservice/StagefrightPlayer.cpp
+++ b/media/libmediaplayerservice/StagefrightPlayer.cpp
@@ -29,9 +29,9 @@ status_t StagefrightPlayer::initCheck() {
}
status_t StagefrightPlayer::setDataSource(
- const char *url, const KeyedVector<String8, String8> *) {
+ const char *url, const KeyedVector<String8, String8> *headers) {
LOGI("setDataSource('%s')", url);
- return mPlayer->setDataSource(url);
+ return mPlayer->setDataSource(url, headers);
}
// Warning: The filedescriptor passed into this method will only be valid until