diff options
| author | phintuka <phintuka> | 2012-01-16 12:09:18 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2012-01-16 12:09:18 +0000 |
| commit | ebe22cdb2335da8eb4d0213922bef76a061f366e (patch) | |
| tree | c4ed3f237ee2e3c904b616b7249c62a2b4a0776f | |
| parent | 54add23876921ff7ba0232f6bc58bf8ada255b41 (diff) | |
| download | xineliboutput-ebe22cdb2335da8eb4d0213922bef76a061f366e.tar.gz xineliboutput-ebe22cdb2335da8eb4d0213922bef76a061f366e.tar.bz2 | |
Increased transport buffer size for recent VDR versions
| -rw-r--r-- | tools/backgroundwriter.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
