diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/ibox.ecpp | 4 | ||||
-rw-r--r-- | pages/recstream.ecpp | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/pages/ibox.ecpp b/pages/ibox.ecpp index 4aaa957..84c9615 100644 --- a/pages/ibox.ecpp +++ b/pages/ibox.ecpp @@ -44,11 +44,7 @@ TimerConflictNotifier timerNotifier(); infoUrl = "timerconflicts.html"; } -#if VDRVERSNUM >= 10403 const char* NowReplaying = cReplayControl::NowReplaying(); -#else - const char* NowReplaying = cControl::Control()?cReplayControl::LastReplayed():NULL; -#endif EpgInfoPtr epgEvent; diff --git a/pages/recstream.ecpp b/pages/recstream.ecpp index f45d1c4..61a48e1 100644 --- a/pages/recstream.ecpp +++ b/pages/recstream.ecpp @@ -15,11 +15,7 @@ using namespace vdrlive; off_t RecSize(cRecording const * recording) { -#if VDRVERSNUM < 10704 - cFileName recFile(recording->FileName(), false, false); -#else cFileName recFile(recording->FileName(), false, false, recording->IsPesRecording()); -#endif off_t recSize = 0; for (cUnbufferedFile *recData = recFile.Open(); recData; recData = recFile.NextFile()) { struct stat buf; @@ -52,11 +48,7 @@ if (recording) { reply.setContentLengthHeader(RecSize(recording)); reply.setDirectMode(); -#if VDRVERSNUM < 10704 - cFileName recFile(recording->FileName(), false, false); -#else cFileName recFile(recording->FileName(), false, false, recording->IsPesRecording()); -#endif // dsyslog("LIVE: start send video data."); for (cUnbufferedFile *recData = recFile.Open(); recData; recData = recFile.NextFile()) { char buffer[KILOBYTE(16)]; |