diff options
author | andreas 'randy' weinberger <vdr@smue.org> | 2010-02-28 12:50:31 +0100 |
---|---|---|
committer | andreas 'randy' weinberger <vdr@smue.org> | 2010-02-28 12:50:31 +0100 |
commit | 1065acffd6db2eca946e2a6693cd66bb14d0694a (patch) | |
tree | 07044785986de9ac65594d69e4c7650c4473c79d /state.c | |
parent | 2bd22158402ee800860f0c9c2ce8922f8aa0a82b (diff) | |
download | vdr-plugin-graphlcd-1065acffd6db2eca946e2a6693cd66bb14d0694a.tar.gz vdr-plugin-graphlcd-1065acffd6db2eca946e2a6693cd66bb14d0694a.tar.bz2 |
changed FRAMESPERSEC to DEFAULTFRAMESPERSECOND (vdr-1.7.x)
Diffstat (limited to 'state.c')
-rw-r--r-- | state.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -40,7 +40,11 @@ cGraphLCDState::cGraphLCDState(cGraphLCDDisplay * Display) replay.control = NULL; replay.mode = eReplayNormal; replay.current = 0; +#if VDRVERSNUM >= 10701 + replay.currentLast = DEFAULTFRAMESPERSECOND; +#else replay.currentLast = FRAMESPERSEC; +#endif replay.total = 0; replay.totalLast = 1; @@ -303,7 +307,11 @@ void cGraphLCDState::Replaying(const cControl * Control, const char * Name, cons replay.name = Name; } } +#if VDRVERSNUM >= 10701 + replay.currentLast = DEFAULTFRAMESPERSECOND; +#else replay.currentLast = FRAMESPERSEC; +#endif replay.totalLast = 1; mutex.Unlock(); } |