summaryrefslogtreecommitdiff
path: root/hlsPlayer.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-01-12 21:32:12 +0100
committerchriszero <zerov83@gmail.com>2015-01-12 21:32:12 +0100
commitd40d85f7ce39d5e8301173a7d21707dd8c3ab5cd (patch)
treed75fb08567d70fa32e96b11b61795f6a1a282ffd /hlsPlayer.h
parent243e2d5097351046aa07f3c0af6ab0bb7c91ed2e (diff)
downloadvdr-plugin-plex-d40d85f7ce39d5e8301173a7d21707dd8c3ab5cd.tar.gz
vdr-plugin-plex-d40d85f7ce39d5e8301173a7d21707dd8c3ab5cd.tar.bz2
Fixes Segfault after playing a movie
Diffstat (limited to 'hlsPlayer.h')
-rw-r--r--hlsPlayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hlsPlayer.h b/hlsPlayer.h
index 3df9c46..8d8bdb8 100644
--- a/hlsPlayer.h
+++ b/hlsPlayer.h
@@ -11,9 +11,11 @@
#include <vdr/tools.h>
#include <Poco/Net/HTTPClientSession.h>
+#include <Poco/Net/HTTPRequest.h>
#include <Poco/URI.h>
#include "m3u8Parser.h"
+#include "Config.h"
class cHlsSegmentLoader : public cThread
{
@@ -46,6 +48,7 @@ private:
protected:
void Action(void);
bool DoLoad(void);
+ void AddHeader(Poco::Net::HTTPRequest& req);
bool StopLoader(void);
public: