diff options
| author | phintuka <phintuka> | 2012-01-16 12:12:49 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2012-01-16 12:12:49 +0000 |
| commit | d96448fa47f24b1a842d62cb1ef8fc5e454b09b3 (patch) | |
| tree | d3e5865b77b86ecfdfe25f7b95a2e1f202578495 | |
| parent | 2b3335f70f7639b7c206846a42feef256634cfce (diff) | |
| download | xineliboutput-d96448fa47f24b1a842d62cb1ef8fc5e454b09b3.tar.gz xineliboutput-d96448fa47f24b1a842d62cb1ef8fc5e454b09b3.tar.bz2 | |
Increased TCP data stream buffer with recent VDR versions
| -rw-r--r-- | tools/backgroundwriter.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/backgroundwriter.h b/tools/backgroundwriter.h index 76273daa..2fa30cbe 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.9 2012-01-16 12:10:33 phintuka Exp $ + * $Id: backgroundwriter.h,v 1.10 2012-01-16 12:12:49 phintuka Exp $ * */ @@ -75,7 +75,12 @@ class cTcpWriter : public cBackgroundWriterI const uchar *Data, int DataCount); public: +#if VDRVERSNUM >= 10708 + cTcpWriter(int fd, int Size = KILOBYTE(2048)); +#else cTcpWriter(int fd, int Size = KILOBYTE(512)); +#endif + virtual ~cTcpWriter() {}; virtual int Put(eStreamId StreamId, uint64_t StreamPos, const uchar *Data, int DataCount); |
