diff options
-rw-r--r-- | client/filter.c | 3 | ||||
-rw-r--r-- | common.h | 6 | ||||
-rw-r--r-- | remux/ts2es.c | 1 | ||||
-rw-r--r-- | remux/ts2ps.c | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/client/filter.c b/client/filter.c index 265276f..daf534a 100644 --- a/client/filter.c +++ b/client/filter.c @@ -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 @@ -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) diff --git a/remux/ts2es.c b/remux/ts2es.c index 83e3c80..3476e24 100644 --- a/remux/ts2es.c +++ b/remux/ts2es.c @@ -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) diff --git a/remux/ts2ps.c b/remux/ts2ps.c index 8794e88..d0d08cf 100644 --- a/remux/ts2ps.c +++ b/remux/ts2ps.c @@ -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); |