]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
timeshift: reduce the output buffer size
authorAdam Sutton <dev@adamsutton.me.uk>
Wed, 16 Apr 2014 21:32:54 +0000 (22:32 +0100)
committerAdam Sutton <dev@adamsutton.me.uk>
Wed, 16 Apr 2014 21:32:54 +0000 (22:32 +0100)
This will help with a potential overflow in the HTSP buffers that causes
glitches in client playback.

src/timeshift/private.h

index 435eb4f882e4214d89ce368f048875f9b1fd4e02..314fe0c7e636f02d8eb6e1ed73ab9607d70f7252 100644 (file)
@@ -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
 
 /**