mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Increased the size of the TS buffer to 16MB, to have more reserve when recording several HD programmes
This commit is contained in:
parent
f24e93ade1
commit
36be6abfbd
4
HISTORY
4
HISTORY
@ -9513,7 +9513,7 @@ Video Disk Recorder Revision History
|
|||||||
with the main menu open.
|
with the main menu open.
|
||||||
- Official release.
|
- Official release.
|
||||||
|
|
||||||
2020-10-12: Version 2.4.5
|
2020-10-15: Version 2.4.5
|
||||||
|
|
||||||
- Updated the Italian OSD texts (thanks to Diego Pierotto).
|
- Updated the Italian OSD texts (thanks to Diego Pierotto).
|
||||||
- Fixed handling newline characters in ci.c's CopyString() (reported by Winfried Köhler).
|
- Fixed handling newline characters in ci.c's CopyString() (reported by Winfried Köhler).
|
||||||
@ -9526,3 +9526,5 @@ Video Disk Recorder Revision History
|
|||||||
The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.5 to
|
The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.5 to
|
||||||
indicate this change.
|
indicate this change.
|
||||||
- Fixed alignment of semi-circles in case of odd sizes.
|
- Fixed alignment of semi-circles in case of odd sizes.
|
||||||
|
- Increased the size of the TS buffer to 16MB, to have more reserve when recording
|
||||||
|
several HD programmes.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbdevice.c 4.23 2020/06/10 14:52:43 kls Exp $
|
* $Id: dvbdevice.c 4.24 2020/10/15 10:16:38 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -34,6 +34,8 @@ static int DvbApiVersion = 0x0000; // the version of the DVB driver actually in
|
|||||||
|
|
||||||
#define SCR_RANDOM_TIMEOUT 500 // ms (add random value up to this when tuning SCR device to avoid lockups)
|
#define SCR_RANDOM_TIMEOUT 500 // ms (add random value up to this when tuning SCR device to avoid lockups)
|
||||||
|
|
||||||
|
#define TSBUFFERSIZE MEGABYTE(16)
|
||||||
|
|
||||||
// --- DVB Parameter Maps ----------------------------------------------------
|
// --- DVB Parameter Maps ----------------------------------------------------
|
||||||
|
|
||||||
const tDvbParameterMap PilotValues[] = {
|
const tDvbParameterMap PilotValues[] = {
|
||||||
@ -2311,7 +2313,7 @@ bool cDvbDevice::OpenDvr(void)
|
|||||||
CloseDvr();
|
CloseDvr();
|
||||||
fd_dvr = DvbOpen(DEV_DVB_DVR, adapter, frontend, O_RDONLY | O_NONBLOCK, true);
|
fd_dvr = DvbOpen(DEV_DVB_DVR, adapter, frontend, O_RDONLY | O_NONBLOCK, true);
|
||||||
if (fd_dvr >= 0)
|
if (fd_dvr >= 0)
|
||||||
tsBuffer = new cTSBuffer(fd_dvr, MEGABYTE(5), DeviceNumber() + 1);
|
tsBuffer = new cTSBuffer(fd_dvr, TSBUFFERSIZE, DeviceNumber() + 1);
|
||||||
return fd_dvr >= 0;
|
return fd_dvr >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user