From c6aa52c204d4e75d199bfb6b63fad31ffcc79720 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 19 Feb 2005 14:40:36 +0100 Subject: Increased POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems with the larger buffer reserve --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ transfer.c | 4 ++-- 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 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 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 ------------------------------------------------------------- -- cgit v1.2.3