summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-13 14:56:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-13 14:56:36 +0200
commit5e2f8e761343f72ed0c491c6b2caa64637a04f54 (patch)
tree1c55d50a61efa97c7bfdd02ac7b7964f8e4b9c35
parentff866ef82800b4f06bfd1c7b5e147c41f9928541 (diff)
downloadvdr-5e2f8e761343f72ed0c491c6b2caa64637a04f54.tar.gz
vdr-5e2f8e761343f72ed0c491c6b2caa64637a04f54.tar.bz2
Made frame type buffer size a multiple of TS_SIZE
-rw-r--r--recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recorder.c b/recorder.c
index 04fc6586..6080deb0 100644
--- a/recorder.c
+++ b/recorder.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recorder.c 2.13 2011/08/12 14:14:57 kls Exp $
+ * $Id: recorder.c 2.14 2011/08/13 14:56:36 kls Exp $
*/
#include "recorder.h"
@@ -119,7 +119,7 @@ void cRecorder::Action(void)
time_t t = time(NULL);
bool InfoWritten = false;
bool FirstIframeSeen = false;
-#define BUFFERSIZE KILOBYTE(1)
+#define BUFFERSIZE (5 * TS_SIZE)
bool Buffering = false;
int BufferIndex = 0;
int MaxBufferIndex = 0;