summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-22 12:35:10 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-22 12:35:10 +0200
commitd377c778a749e6f89d1d2ba46824db9ffab28d02 (patch)
tree9058d11bb08c2a1255787062a4dc271c289791c9
parent17b12a32b049ab8979c56572c9c5ae9b23227e68 (diff)
downloadvdr-d377c778a749e6f89d1d2ba46824db9ffab28d02.tar.gz
vdr-d377c778a749e6f89d1d2ba46824db9ffab28d02.tar.bz2
Increased the value of MAXRETRIES to 20 to reduce the probability of disturbances in transfer mode
-rw-r--r--HISTORY2
-rw-r--r--transfer.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 5700c236..9751372c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7877,3 +7877,5 @@ Video Disk Recorder Revision History
- cDevice::IsPrimaryDevice() now also checks whether the primary device actually has
a decoder and returns false otherwise. This should improve device allocation on
systems that are only used as a receiver and don't actually display anything.
+- Increased the value of MAXRETRIES to 20 to reduce the probability of disturbances
+ in transfer mode.
diff --git a/transfer.c b/transfer.c
index 653e93b4..eb07e829 100644
--- a/transfer.c
+++ b/transfer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.c 2.8 2013/03/01 09:50:15 kls Exp $
+ * $Id: transfer.c 3.1 2013/08/22 12:33:02 kls Exp $
*/
#include "transfer.h"
@@ -35,7 +35,7 @@ void cTransfer::Activate(bool On)
cPlayer::Detach();
}
-#define MAXRETRIES 5 // max. number of retries for a single TS packet
+#define MAXRETRIES 20 // max. number of retries for a single TS packet
#define RETRYWAIT 5 // time (in ms) between two retries
void cTransfer::Receive(uchar *Data, int Length)