diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-13 11:12:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-13 11:12:54 +0200 |
commit | 27c061e449729f586d07c961e43691d2bc3105cb (patch) | |
tree | ab98ed8b429b056fa9ff723297c685679bcb678f /recording.h | |
parent | 3628bbbfa16288d548a4b64a67c163699c08d06f (diff) | |
download | vdr-27c061e449729f586d07c961e43691d2bc3105cb.tar.gz vdr-27c061e449729f586d07c961e43691d2bc3105cb.tar.bz2 |
Made MAXFRAMESIZE a multiple of TS_SIZE to avoid breaking up TS packets
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.h b/recording.h index 151e7602..50992ca3 100644 --- a/recording.h +++ b/recording.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.h 2.5 2009/02/28 10:50:12 kls Exp $ + * $Id: recording.h 2.6 2009/04/13 11:10:50 kls Exp $ */ #ifndef __RECORDING_H @@ -207,7 +207,7 @@ public: }; // The maximum size of a single frame (up to HDTV 1920x1080): -#define MAXFRAMESIZE KILOBYTE(512) +#define MAXFRAMESIZE (KILOBYTE(512) / TS_SIZE * TS_SIZE) // multiple of TS_SIZE to avoid breaking up TS packets // The maximum file size is limited by the range that can be covered // with a 40 bit 'unsigned int', which is 1TB. The actual maximum value |