summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-03-28 09:41:07 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-03-28 09:41:07 +0100
commit13d9d41cc3d6af1468c34070a2cc083827b61ab9 (patch)
tree129abb28d5f83ec950df0b652041b01b0278bc2f
parent4ec534badbeb90c6d6cd03c5c7fa76d076bfcbdb (diff)
downloadvdr-plugin-epgsearch-13d9d41cc3d6af1468c34070a2cc083827b61ab9.tar.gz
vdr-plugin-epgsearch-13d9d41cc3d6af1468c34070a2cc083827b61ab9.tar.bz2
fix for a special wrong recdone case
if a recording was interrupted and cRecStatusMonitor::Recording was called two times after this break and before the real end of the broken timer, then the broken recording was wrongly added to the complete recordings
-rw-r--r--recstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recstatus.c b/recstatus.c
index 6d8eecd..4603d72 100644
--- a/recstatus.c
+++ b/recstatus.c
@@ -151,7 +151,7 @@ void cRecStatusMonitor::Recording(const cDevice *Device, const char *Name, const
// trigger a search timer update
updateForced = 1;
}
- else
+ else if (tiR->lastBreak == 0) // store first break
tiR->lastBreak = now;
}
if (tiR->lastBreak == 0 || (now - tiR->lastBreak) > ALLOWED_BREAK_INSECS)