From de0562cbf8a55fdbf6ebb1a3dee8fa091877e9c7 Mon Sep 17 00:00:00 2001 From: Adam Sutton <dev@adamsutton.me.uk> Date: Wed, 16 Apr 2014 22:32:54 +0100 Subject: [PATCH] timeshift: reduce the output buffer size This will help with a potential overflow in the HTSP buffers that causes glitches in client playback. --- src/timeshift/private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timeshift/private.h b/src/timeshift/private.h index 435eb4f8..314fe0c7 100644 --- a/src/timeshift/private.h +++ b/src/timeshift/private.h @@ -19,7 +19,7 @@ #ifndef __TVH_TIMESHIFT_PRIVATE_H__ #define __TVH_TIMESHIFT_PRIVATE_H__ -#define TIMESHIFT_PLAY_BUF 2000000 // us to buffer in TX +#define TIMESHIFT_PLAY_BUF 200000 // us to buffer in TX #define TIMESHIFT_FILE_PERIOD 60 // number of secs in each buffer file /**