summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-08-16 10:45:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-08-16 10:45:58 +0200
commitfbc3a77d60a61d9c3533cd001b874c635e2a154c (patch)
treedc25e1895e8758f13f41a57b1546314ecccb726a
parenta397b8a512843bade38e5eb1c254ac59ad1c9d92 (diff)
downloadvdr-fbc3a77d60a61d9c3533cd001b874c635e2a154c.tar.gz
vdr-fbc3a77d60a61d9c3533cd001b874c635e2a154c.tar.bz2
Increased the value of MAXFRAMESIZE to better suit HD recordings
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--recording.h4
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 <rnissl@gmx.de>
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 <richard_robson@beeb.net>
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