Increased the size of the TS buffer to 5MB and that of the Recorder buffer to 20MB to better handle HD recordings

This commit is contained in:
Klaus Schmidinger
2012-09-22 11:55:26 +02:00
parent 72c03260d7
commit 7cdfca45f4
4 changed files with 8 additions and 4 deletions

View File

@@ -4,13 +4,13 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recorder.c 2.16 2012/09/22 11:52:33 kls Exp $
* $Id: recorder.c 2.17 2012/09/22 11:53:57 kls Exp $
*/
#include "recorder.h"
#include "shutdown.h"
#define RECORDERBUFSIZE (MEGABYTE(5) / TS_SIZE * TS_SIZE) // multiple of TS_SIZE
#define RECORDERBUFSIZE (MEGABYTE(20) / TS_SIZE * TS_SIZE) // multiple of TS_SIZE
// The maximum time we wait before assuming that a recorded video data stream
// is broken: