diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-04-17 17:00:18 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-04-17 17:00:18 +0200 |
commit | 3c04e4ce347dff915def3a79f348f2f46e60564d (patch) | |
tree | 51defa818f251ce9d70472ad202b85165c6837fc /myreplaycontrol.c | |
parent | 82bfd4c15949019ede37b2b04be79659c5c65dbe (diff) | |
download | vdr-plugin-extrecmenu-3c04e4ce347dff915def3a79f348f2f46e60564d.tar.gz vdr-plugin-extrecmenu-3c04e4ce347dff915def3a79f348f2f46e60564d.tar.bz2 |
Version 0.9av0.9a
- fixed #ifdef's for JumpPlay-patch in myreplaycontrol.c; thanks to Thomas Günther for reporting
- include fixed 'dvdarchive.sh', umount wasn't possible; thanks to Mase from vdr-portal.de for reporting
- added support for CmdSubMenu-patch, it should now be possible to use sub menus if you patched your VDR with BigPatch or CmdSubMenu-patch
Diffstat (limited to 'myreplaycontrol.c')
-rw-r--r-- | myreplaycontrol.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/myreplaycontrol.c b/myreplaycontrol.c index fb7f50f..eeee7ee 100644 --- a/myreplaycontrol.c +++ b/myreplaycontrol.c @@ -29,7 +29,7 @@ myReplayControl::myReplayControl(void) timeoutShow = 0; timeSearchActive = false; marks.Load(fileName); -#ifdef BIGPACKVERSION +#ifdef BIGPATCHVERSION lastLoadMarks = time(NULL); #endif cRecording Recording(fileName); @@ -253,11 +253,11 @@ void myReplayControl::MarkToggle(void) ShowTimed(2); bool Play, Forward; int Speed; -#ifndef BIGPACKVERSION +#ifndef BIGPATCHVERSION if (GetReplayMode(Play, Forward, Speed) && !Play) Goto(Current, true); #endif -#ifdef BIGBACKVERSION +#ifdef BIGPATCHVERSION if (GetReplayMode(Play, Forward, Speed) && !Play) { Goto(Current, true); displayFrames = true; @@ -276,11 +276,11 @@ void myReplayControl::MarkJump(bool Forward) if (GetIndex(Current, Total)) { cMark *m = Forward ? marks.GetNext(Current) : marks.GetPrev(Current); if (m) { -#ifndef BIGPACKVERSION +#ifndef BIGPATCHVERSION Goto(m->position, true); displayFrames = true; #endif -#ifdef BIGPACKVERSION +#ifdef BIGPATCHVERSION bool Play2, Forward2; int Speed; if (Setup.JumpPlay && GetReplayMode(Play2, Forward2, Speed) && @@ -347,10 +347,10 @@ void myReplayControl::EditTest(void) if (!m) m = marks.GetNext(Current); if (m) { -#ifndef BIGPACKVERSION +#ifndef BIGPATCHVERSION if ((m->Index() & 0x01) != 0) #endif -#ifdef BIGPACKVERSION +#ifdef BIGPATCHVERSION if ((m->Index() & 0x01) != 0 && !Setup.PlayJump) #endif m = marks.Next(m); @@ -374,7 +374,7 @@ eOSState myReplayControl::ProcessKey(eKeys Key) { if (!Active()) return osEnd; -#ifdef BIGPACKVERSION +#ifdef BIGPATCHVERSION if (Setup.LoadMarksInterval && time(NULL) >= lastLoadMarks + Setup.LoadMarksInterval) { marks.Load(fileName, true); |