From: Adam Sutton Date: Wed, 16 Apr 2014 21:32:54 +0000 (+0100) Subject: timeshift: reduce the output buffer size X-Git-Tag: v4.1~2149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de0562cbf8a55fdbf6ebb1a3dee8fa091877e9c7;p=thirdparty%2Ftvheadend.git timeshift: reduce the output buffer size This will help with a potential overflow in the HTSP buffers that causes glitches in client playback. --- diff --git a/src/timeshift/private.h b/src/timeshift/private.h index 435eb4f88..314fe0c7e 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 /**