add cookie.patch thx DboxOldie

Origin commit data
------------------
Branch: master
Commit: 182baf4e57
Author: max_10 <max_10@gmx.de>
Date: 2016-04-03 (Sun, 03 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2016-04-03 00:06:31 +02:00
parent be1da38d90
commit 462a59c225
6 changed files with 28 additions and 11 deletions

View File

@@ -65,7 +65,7 @@ void *Player::playthread(void *arg)
pthread_exit(NULL);
}
bool Player::Open(const char *Url, bool _noprobe)
bool Player::Open(const char *Url, bool _noprobe, std::string headers)
{
fprintf(stderr, "URL=%s\n", Url);
@@ -89,7 +89,7 @@ bool Player::Open(const char *Url, bool _noprobe)
return false;
}
return input.Init(url.c_str());
return input.Init(url.c_str(), headers);
}
bool Player::Close()