- adopted to VDR >= 1.3.36

This commit is contained in:
lordjaxom 2005-11-06 16:43:58 +00:00
parent bf55805cc2
commit 0b590ec826
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: filter.c,v 1.2 2005/02/08 13:59:16 lordjaxom Exp $
* $Id: filter.c,v 1.3 2005/11/06 16:43:58 lordjaxom Exp $
*/
#include "client/filter.h"
@ -8,6 +8,7 @@
#include "common.h"
#include <vdr/ringbuffer.h>
#include <vdr/device.h>
#if VDRVERSNUM >= 10300

View File

@ -1,5 +1,5 @@
/*
* $Id: common.h,v 1.6 2005/05/09 20:22:29 lordjaxom Exp $
* $Id: common.h,v 1.7 2005/11/06 16:43:58 lordjaxom Exp $
*/
#ifndef VDR_STREAMDEV_COMMON_H
@ -35,6 +35,10 @@
# define FLUSH() Skins.Flush()
#endif
#if VDRVERSNUM >= 10336
# define MAXPARSEBUFFER KILOBYTE(16)
#endif
/* Check if a channel is a radio station. */
#define ISRADIO(x) ((x)->Vpid()==0||(x)->Vpid()==1||(x)->Vpid()==0x1fff)

View File

@ -2,6 +2,7 @@
#include "server/streamer.h"
#include "libdvbmpeg/transform.h"
#include "common.h"
#include <vdr/device.h>
// from VDR's remux.c
#define MAXNONUSEFULDATA (10*1024*1024)

View File

@ -1,6 +1,7 @@
#include "remux/ts2ps.h"
#include "server/streamer.h"
#include <vdr/channels.h>
#include <vdr/device.h>
class cTS2PS {
friend void PutPES(uint8_t *Buffer, int Size, void *Data);