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 5MB and that of the Recorder buffer to 20MB to better handle HD recordings
This commit is contained in:
parent
72c03260d7
commit
7cdfca45f4
@ -2893,6 +2893,8 @@ Torsten Lang <info@torstenlang.de>
|
|||||||
thread is running
|
thread is running
|
||||||
for suggesting to allow I/O intense threads to temporarily suspend their activities
|
for suggesting to allow I/O intense threads to temporarily suspend their activities
|
||||||
in case buffers run full
|
in case buffers run full
|
||||||
|
for suggesting to increase the size of the TS buffer to 5MB and that of the Recorder
|
||||||
|
buffer to 20MB to better handle HD recordings
|
||||||
|
|
||||||
Christian Ruppert <idl0r@gentoo.org>
|
Christian Ruppert <idl0r@gentoo.org>
|
||||||
for some improvements to the Makefiles
|
for some improvements to the Makefiles
|
||||||
|
2
HISTORY
2
HISTORY
@ -7256,3 +7256,5 @@ Video Disk Recorder Revision History
|
|||||||
Currently the cutter thread is suspended if the TS or Recorder buffer use more
|
Currently the cutter thread is suspended if the TS or Recorder buffer use more
|
||||||
than 50% of their capacity. Plugin authors may want to participate in this
|
than 50% of their capacity. Plugin authors may want to participate in this
|
||||||
mechanism if they use intense background I/O.
|
mechanism if they use intense background I/O.
|
||||||
|
- Increased the size of the TS buffer to 5MB and that of the Recorder buffer to
|
||||||
|
20MB to better handle HD recordings (suggested by Torsten Lang).
|
||||||
|
@ -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 2.71 2012/05/09 08:33:59 kls Exp $
|
* $Id: dvbdevice.c 2.72 2012/09/22 11:53:57 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -1540,7 +1540,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(2), CardIndex() + 1);
|
tsBuffer = new cTSBuffer(fd_dvr, MEGABYTE(5), CardIndex() + 1);
|
||||||
return fd_dvr >= 0;
|
return fd_dvr >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
* 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: recorder.c 2.16 2012/09/22 11:52:33 kls Exp $
|
* $Id: recorder.c 2.17 2012/09/22 11:53:57 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recorder.h"
|
#include "recorder.h"
|
||||||
#include "shutdown.h"
|
#include "shutdown.h"
|
||||||
|
|
||||||
#define RECORDERBUFSIZE (MEGABYTE(5) / TS_SIZE * TS_SIZE) // multiple of TS_SIZE
|
#define RECORDERBUFSIZE (MEGABYTE(20) / TS_SIZE * TS_SIZE) // multiple of TS_SIZE
|
||||||
|
|
||||||
// The maximum time we wait before assuming that a recorded video data stream
|
// The maximum time we wait before assuming that a recorded video data stream
|
||||||
// is broken:
|
// is broken:
|
||||||
|
Loading…
Reference in New Issue
Block a user