diff options
author | chriszero <zerov83@gmail.com> | 2015-02-22 16:30:39 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-22 16:30:39 +0100 |
commit | 1d6583bf592119c85bfcbf2cc6f22aef364396e4 (patch) | |
tree | 5190cd178c353b1006da1df2ed316ddcdfd01dab /hlsPlayerControl.h | |
parent | a4567e4d33727c941a8abe14c8165f212835f064 (diff) | |
download | vdr-plugin-plex-1d6583bf592119c85bfcbf2cc6f22aef364396e4.tar.gz vdr-plugin-plex-1d6583bf592119c85bfcbf2cc6f22aef364396e4.tar.bz2 |
New menu for selecting audio/subtitle stream. Open with "back key" while playing a video.
Selecting a subtitle will force the PMS to transcode the video.
Diffstat (limited to 'hlsPlayerControl.h')
-rw-r--r-- | hlsPlayerControl.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/hlsPlayerControl.h b/hlsPlayerControl.h index c64139a..fb2ba3f 100644 --- a/hlsPlayerControl.h +++ b/hlsPlayerControl.h @@ -8,13 +8,26 @@ #include "MediaContainer.h" #include "PVideo.h" +class cStreamSelectMenu : public cOsdMenu +{ +private: + plexclient::Video* pVideo; + void CreateMenu(); + bool SelectStream(); + +public: + cStreamSelectMenu(plexclient::Video* Video); + virtual eOSState ProcessKey(eKeys Keys); +}; + class cHlsPlayerControl : public cControl { private: static volatile int active; cHlsPlayer* player; std::string m_title; - + + cStreamSelectMenu* menu; cSkinDisplayReplay *displayReplay; bool visible, modeOnly, shown; int lastCurrent, lastTotal; |