mirror of https://github.com/VDR4Arch/vdr.git
Made frame type buffer size a multiple of TS_SIZE
This commit is contained in:
parent
ff866ef828
commit
5e2f8e7613
|
@ -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: recorder.c 2.13 2011/08/12 14:14:57 kls Exp $
|
* $Id: recorder.c 2.14 2011/08/13 14:56:36 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recorder.h"
|
#include "recorder.h"
|
||||||
|
@ -119,7 +119,7 @@ void cRecorder::Action(void)
|
||||||
time_t t = time(NULL);
|
time_t t = time(NULL);
|
||||||
bool InfoWritten = false;
|
bool InfoWritten = false;
|
||||||
bool FirstIframeSeen = false;
|
bool FirstIframeSeen = false;
|
||||||
#define BUFFERSIZE KILOBYTE(1)
|
#define BUFFERSIZE (5 * TS_SIZE)
|
||||||
bool Buffering = false;
|
bool Buffering = false;
|
||||||
int BufferIndex = 0;
|
int BufferIndex = 0;
|
||||||
int MaxBufferIndex = 0;
|
int MaxBufferIndex = 0;
|
||||||
|
|
Loading…
Reference in New Issue