diff options
author | chriszero <zerov83@gmail.com> | 2015-01-14 21:50:20 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-01-14 21:50:20 +0100 |
commit | adc0c699c19b0389b899230a73f3ab635bcdc5c3 (patch) | |
tree | b57b71b338cea70dfc4b2e7b92ddb73be06184b7 /hlsPlayer.h | |
parent | acbfb7d0bb54a591332dc9030ae377dcfac19fac (diff) | |
download | vdr-plugin-plex-adc0c699c19b0389b899230a73f3ab635bcdc5c3.tar.gz vdr-plugin-plex-adc0c699c19b0389b899230a73f3ab635bcdc5c3.tar.bz2 |
Implemented Play, Pause, Stop
Diffstat (limited to 'hlsPlayer.h')
-rw-r--r-- | hlsPlayer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hlsPlayer.h b/hlsPlayer.h index a07a4bf..4ba017e 100644 --- a/hlsPlayer.h +++ b/hlsPlayer.h @@ -49,14 +49,15 @@ protected: void Action(void); bool DoLoad(void); void AddHeader(Poco::Net::HTTPRequest& req); - bool StopLoader(void); public: cHlsSegmentLoader(std::string startm3u8); ~cHlsSegmentLoader(); cRingBufferLinear* m_pRingbuffer; - bool BufferFilled(); + bool BufferFilled(void); + bool Active(void); + bool StopLoader(void); }; class cHlsPlayer : public cPlayer, cThread @@ -87,6 +88,8 @@ public: virtual bool GetReplayMode(bool &Play, bool &Forward, int &Speed); void Pause(void); void Play(void); + void Stop(void); + bool Active(void); }; |