summaryrefslogtreecommitdiff
path: root/hlsPlayer.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-11 15:57:06 +0100
committerchriszero <zerov83@gmail.com>2015-02-11 15:57:06 +0100
commit2ee181403f1c332ee34f658916035524e766cd7b (patch)
tree1bee6b63cd3df9c105e976f6edd0e383887c23b2 /hlsPlayer.h
parent158d1055599205ccca462f97c190994fa28af8f0 (diff)
downloadvdr-plugin-plex-2ee181403f1c332ee34f658916035524e766cd7b.tar.gz
vdr-plugin-plex-2ee181403f1c332ee34f658916035524e766cd7b.tar.bz2
Fixes proper handling of "end of stream".
Proper display of totaltime when playing a Plexchannel
Diffstat (limited to 'hlsPlayer.h')
-rw-r--r--hlsPlayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hlsPlayer.h b/hlsPlayer.h
index 111a367..ee27049 100644
--- a/hlsPlayer.h
+++ b/hlsPlayer.h
@@ -27,6 +27,7 @@ private:
unsigned int m_lastLoadedSegment;
bool m_bufferFilled;
bool m_newList;
+ int m_streamlenght;
uchar* m_pBuffer;
@@ -66,6 +67,7 @@ public:
bool LoadM3u8(std::string uri);
void AddHeader(Poco::Net::HTTPRequest& req);
void Ping(void);
+ int GetStreamLenght();
};
class cHlsPlayer : public cPlayer, cThread