add cookie.patch thx DboxOldie

This commit is contained in:
max10
2016-04-03 00:06:31 +02:00
parent 747c5cb3f1
commit 182baf4e57
6 changed files with 28 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ class Input
bool ReadSubtitle(const char *filename, const char *format, int pid);
bool ReadSubtitles(const char *filename);
bool Init(const char *filename);
bool Init(const char *filename, std::string headers = "");
bool UpdateTracks();
bool Play();
bool Stop();

View File

@@ -103,7 +103,7 @@ class Player {
bool FastBackward(int speed);
bool FastForward(int speed);
bool Open(const char *Url, bool noprobe = false);
bool Open(const char *Url, bool noprobe = false, std::string headers = "");
bool Close();
bool Play();
bool Pause();