diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-22 12:37:19 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-22 12:37:19 +0200 |
commit | fc03e021bbba2c664114aa9d6606034d567a7587 (patch) | |
tree | 8ec5ac62295eee254dbee6efc65089e738eccf79 | |
parent | 6e6e468148e231156be0cccf1ecd3f6eab5b5970 (diff) | |
download | vdr-fc03e021bbba2c664114aa9d6606034d567a7587.tar.gz vdr-fc03e021bbba2c664114aa9d6606034d567a7587.tar.bz2 |
Increased the value of MAXRETRIES to 20 to reduce the probability of disturbances in transfer mode
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | transfer.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -7824,3 +7824,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. @@ -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 2.8.1.1 2013/08/22 12:37: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) |