1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Increased the value of MAXRETRIES to 20 to reduce the probability of disturbances in transfer mode

This commit is contained in:
Klaus Schmidinger 2013-08-22 12:35:10 +02:00
parent 17b12a32b0
commit d377c778a7
2 changed files with 4 additions and 2 deletions

View File

@ -7877,3 +7877,5 @@ Video Disk Recorder Revision History
- cDevice::IsPrimaryDevice() now also checks whether the primary device actually has - cDevice::IsPrimaryDevice() now also checks whether the primary device actually has
a decoder and returns false otherwise. This should improve device allocation on 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. 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.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "transfer.h"
@ -35,7 +35,7 @@ void cTransfer::Activate(bool On)
cPlayer::Detach(); 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 #define RETRYWAIT 5 // time (in ms) between two retries
void cTransfer::Receive(uchar *Data, int Length) void cTransfer::Receive(uchar *Data, int Length)