mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Adapted to driver version 0.6
This commit is contained in:
parent
ce3046c9d0
commit
e62cf7d9e4
1
HISTORY
1
HISTORY
@ -82,3 +82,4 @@ Video Disk Recorder Revision History
|
||||
converted to underscores.
|
||||
- The polarization can now be given in uppercase or lowercase characters in
|
||||
channels.conf.
|
||||
- Fixed buffer initialization to work with DVB driver version 0.6.
|
||||
|
6
dvbapi.c
6
dvbapi.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: dvbapi.c 1.14 2000/07/16 15:28:50 kls Exp $
|
||||
* $Id: dvbapi.c 1.15 2000/07/21 13:18:02 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbapi.h"
|
||||
@ -818,8 +818,8 @@ cReplayBuffer::cReplayBuffer(int *OutFile, const char *FileName)
|
||||
// All recordings start with '1':
|
||||
fileNumber = 1; //TODO what if it doesn't start with '1'???
|
||||
//XXX hack to make the video device go into 'replaying' mode:
|
||||
char dummy;
|
||||
write(*OutFile, &dummy, sizeof(dummy));
|
||||
char *dummy = "AV"; // must be "AV" to make the driver go into AV_PES mode!
|
||||
write(*OutFile, dummy, strlen(dummy));
|
||||
}
|
||||
|
||||
cReplayBuffer::~cReplayBuffer()
|
||||
|
Loading…
Reference in New Issue
Block a user