From 0b590ec8261db94f515a295c0fbf4c92e78d2a55 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 6 Nov 2005 16:43:58 +0000 Subject: [PATCH] - adopted to VDR >= 1.3.36 --- client/filter.c | 3 ++- common.h | 6 +++++- remux/ts2es.c | 1 + 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 +#include #if VDRVERSNUM >= 10300 diff --git a/common.h b/common.h index 065521e..e5f143d 100644 --- a/common.h +++ b/common.h @@ -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 // 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 +#include class cTS2PS { friend void PutPES(uint8_t *Buffer, int Size, void *Data);