summaryrefslogtreecommitdiff
path: root/hlsPlayerControl.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-01-28 21:17:18 +0100
committerchriszero <zerov83@gmail.com>2015-01-28 21:17:18 +0100
commit87eb8a9e931606da4197391b6e3a09376b1383c2 (patch)
tree9427c28a2d7e9e44d4d77dc7fe53ff91f5152e23 /hlsPlayerControl.h
parent1da4dbe662e75be47e046472137c6bd72daa7b4d (diff)
downloadvdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.gz
vdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.bz2
- Counting played time correctly
- Implemented switching audiostreams - Removed some compile warnings
Diffstat (limited to 'hlsPlayerControl.h')
-rw-r--r--hlsPlayerControl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hlsPlayerControl.h b/hlsPlayerControl.h
index 8eb8bc6..2f7347b 100644
--- a/hlsPlayerControl.h
+++ b/hlsPlayerControl.h
@@ -5,12 +5,14 @@
#include <vdr/tools.h>
#include "hlsPlayer.h"
+#include "MediaContainer.h"
#include "PVideo.h"
class cHlsPlayerControl : public cControl
{
private:
static volatile int active;
+ plexclient::MediaContainer* m_pMediaContainer;
plexclient::Video* m_pVideo;
cHlsPlayer* player;
std::string m_title;
@@ -31,7 +33,7 @@ protected:
public:
static cControl* Create(plexclient::Video* Video);
- cHlsPlayerControl(cHlsPlayer* Player, plexclient::Video* Video);
+ cHlsPlayerControl(cHlsPlayer* Player, plexclient::MediaContainer* Container);
virtual ~cHlsPlayerControl();
virtual void Show(void);