From 24a1638dddc5fd3d8c72ca75cdeda016910f2bf9 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Fri, 2 Sep 2011 13:18:01 +0200 Subject: =?UTF-8?q?increased=20WRITERBUFSIZE.=20Has=20been=20reported=20to?= =?UTF-8?q?=20fix=20some=20ringbuffer=20overflows=20(thanks=20to=20Lubo=A8?= =?UTF-8?q?=20Dole=B8el)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTORS | 3 +++ HISTORY | 2 ++ server/streamer.h | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index ca6bb33..052724c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -189,3 +189,6 @@ Javier Bradineras Pekko Tiitto for providing a git mirror of streamdev's lost CVS repository for suggesting to use mencoder params -alang and -msglevel in externremux + +Luboš Doležel + for suggesting higher buffer sizes to fix some ringbuffer overflows diff --git a/HISTORY b/HISTORY index 9ba250c..8b313d4 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,8 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- increased WRITERBUFSIZE. Has been reported to fix some ringbuffer + overflows (thanks to Luboš Doležel) - check availability of channel if VTP command TUNE is called without prior PROV call (e.g. client side EPG scan) - added support for VDR 1.7.19 SignalStrength/SignalQuality diff --git a/server/streamer.h b/server/streamer.h index 988775a..c34db54 100644 --- a/server/streamer.h +++ b/server/streamer.h @@ -18,7 +18,7 @@ class cServerConnection; #endif #define STREAMERBUFSIZE (20000 * TS_SIZE) -#define WRITERBUFSIZE (5000 * TS_SIZE) +#define WRITERBUFSIZE (20000 * TS_SIZE) // --- cStreamdevBuffer ------------------------------------------------------- -- cgit v1.2.3