summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-19 14:40:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-19 14:40:36 +0100
commitc6aa52c204d4e75d199bfb6b63fad31ffcc79720 (patch)
treef8b1639610eee0a6257c4a292cfc7991f2c7e68a
parent4871f1188e384b548814d9a898a9429668bc49c7 (diff)
downloadvdr-c6aa52c204d4e75d199bfb6b63fad31ffcc79720.tar.gz
vdr-c6aa52c204d4e75d199bfb6b63fad31ffcc79720.tar.bz2
Increased POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems with the larger buffer reserve
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--transfer.c4
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 56049c1b..767a7957 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1149,6 +1149,8 @@ Marco Schlüßler <marco@lordzodiac.de>
for reporting a missing reset of the 'repacker' in cTS2PES::Clear()
for avoiding unnecessary calls to SetPid() in cDvbDevice::SetAudioTrackDevice()
for fixing calling cStatus::MsgChannelSwitch() in cDevice::SetChannel()
+ for increasing POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems
+ with the larger buffer reserve
Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP
diff --git a/HISTORY b/HISTORY
index 2015f001..e6664941 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3426,3 +3426,5 @@ Video Disk Recorder Revision History
Marco Schlüßler).
- Replaced the call to system("sync") in SpinUpDisk() with fdatasync(f) to avoid
problems on NPTL systems (thanks to Chris Warren for pointing this out).
+- Increased POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems
+ with the larger buffer reserve (thanks to Marco Schlüßler).
diff --git a/transfer.c b/transfer.c
index 331ac62b..c214b88f 100644
--- a/transfer.c
+++ b/transfer.c
@@ -4,13 +4,13 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.c 1.27 2005/02/12 15:54:06 kls Exp $
+ * $Id: transfer.c 1.28 2005/02/19 14:38:55 kls Exp $
*/
#include "transfer.h"
#define TRANSFERBUFSIZE MEGABYTE(2)
-#define POLLTIMEOUTS_BEFORE_DEVICECLEAR 3
+#define POLLTIMEOUTS_BEFORE_DEVICECLEAR 6
// --- cTransfer -------------------------------------------------------------