summaryrefslogtreecommitdiff
path: root/mydvbplayer.h
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2006-04-11 19:12:01 +0200
committerAndreas Mair <andreas@vdr-developer.org>2006-04-11 19:12:01 +0200
commit82bfd4c15949019ede37b2b04be79659c5c65dbe (patch)
tree5deb5bf0d98cbee6c5ee17bb9323d0748ed567a7 /mydvbplayer.h
parentc849f2898257df19fddb97ac99c392c410f120d1 (diff)
downloadvdr-plugin-extrecmenu-82bfd4c15949019ede37b2b04be79659c5c65dbe.tar.gz
vdr-plugin-extrecmenu-82bfd4c15949019ede37b2b04be79659c5c65dbe.tar.bz2
Version 0.9v0.9
- removed myDvbPlayer, use VDR's cDvbPlayer instead - made adjustments to work with BigPatch-VDRs (JumpPlay-patch) - added option for sort recordings - moved editing of priority and lifetime to its own submenu - removed option to select alternative dvd marker, the icon is now default - added default values for setup options - moved content of patches/ and tools/ to contrib/ and added a small README - new version of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de - fixed problem with archive dvd recordings at the base dir; thanks to Mase from vdr-portal.de for reporting
Diffstat (limited to 'mydvbplayer.h')
-rw-r--r--mydvbplayer.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/mydvbplayer.h b/mydvbplayer.h
deleted file mode 100644
index 989ec5d..0000000
--- a/mydvbplayer.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#include <vdr/player.h>
-#include <vdr/thread.h>
-
-class myDvbPlayer;
-
-class myDvbPlayerControl : public cControl {
-private:
- myDvbPlayer *player;
-public:
- myDvbPlayerControl(const char *FileName);
- // Sets up a player for the given file.
- virtual ~myDvbPlayerControl();
- bool Active(void);
- void Stop(void);
- // Stops the current replay session (if any).
- void Pause(void);
- // Pauses the current replay session, or resumes a paused session.
- void Play(void);
- // Resumes normal replay mode.
- void Forward(void);
- // Runs the current replay session forward at a higher speed.
- void Backward(void);
- // Runs the current replay session backwards at a higher speed.
- int SkipFrames(int Frames);
- // Returns the new index into the current replay session after skipping
- // the given number of frames (no actual repositioning is done!).
- // The sign of 'Frames' determines the direction in which to skip.
- void SkipSeconds(int Seconds);
- // Skips the given number of seconds in the current replay session.
- // The sign of 'Seconds' determines the direction in which to skip.
- // Use a very large negative value to go all the way back to the
- // beginning of the recording.
- bool GetIndex(int &Current, int &Total, bool SnapToIFrame = false);
- // Returns the current and total frame index, optionally snapped to the
- // nearest I-frame.
- bool GetReplayMode(bool &Play, bool &Forward, int &Speed);
- // Returns the current replay mode (if applicable).
- // 'Play' tells whether we are playing or pausing, 'Forward' tells whether
- // we are going forward or backward and 'Speed' is -1 if this is normal
- // play/pause mode, 0 if it is single speed fast/slow forward/back mode
- // and >0 if this is multi speed mode.
- void Goto(int Index, bool Still = false);
- // Positions to the given index and displays that frame as a still picture
- // if Still is true.
- };