From ebe22cdb2335da8eb4d0213922bef76a061f366e Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 16 Jan 2012 12:09:18 +0000 Subject: Increased transport buffer size for recent VDR versions --- tools/backgroundwriter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/backgroundwriter.h b/tools/backgroundwriter.h index d71e3d56..1f5bb18b 100644 --- a/tools/backgroundwriter.h +++ b/tools/backgroundwriter.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: backgroundwriter.h,v 1.7 2010-03-13 12:20:05 phintuka Exp $ + * $Id: backgroundwriter.h,v 1.8 2012-01-16 12:09:18 phintuka Exp $ * */ @@ -39,7 +39,11 @@ class cBackgroundWriterI : public cThread void Cork(void); public: +#if VDRVERSNUM >= 10708 cBackgroundWriterI(int fd, int Size = KILOBYTE(512), int Margin = 0); +#else + cBackgroundWriterI(int fd, int Size = KILOBYTE(2048), int Margin = 0); +#endif virtual ~cBackgroundWriterI(); // Add PES frame to buffer -- cgit v1.2.3