From fbc3a77d60a61d9c3533cd001b874c635e2a154c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 16 Aug 2009 10:45:58 +0200 Subject: [PATCH] Increased the value of MAXFRAMESIZE to better suit HD recordings --- CONTRIBUTORS | 1 + HISTORY | 2 ++ recording.h | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 06e91aa8..2bc9dd75 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1233,6 +1233,7 @@ Reinhard Nissl size other than the default size for reporting a bug in storing the current OSD size in case the device has changed it in its setup menu + for increasing the value of MAXFRAMESIZE to better suit HD recordings Richard Robson for reporting freezing replay if a timer starts while in Transfer Mode from the diff --git a/HISTORY b/HISTORY index b7f828f2..fd9e3407 100644 --- a/HISTORY +++ b/HISTORY @@ -6153,3 +6153,5 @@ Video Disk Recorder Revision History - Updated vdr.1 to use the new file names in recording directories. - Fixed cRecordings::DelByName() to avoid compilation errors with gcc 4.4 (thanks to Matthias Schwarzott). +- Increased the value of MAXFRAMESIZE to better suit HD recordings (thanks to + Reinhard Nissl). diff --git a/recording.h b/recording.h index 81c72fd4..a895a2d3 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.8 2009/05/23 12:14:42 kls Exp $ + * $Id: recording.h 2.9 2009/08/16 10:45:00 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) / TS_SIZE * TS_SIZE) // multiple of TS_SIZE to avoid breaking up TS packets +#define MAXFRAMESIZE (KILOBYTE(1024) / 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