[vdr] [PATCH]streamdev compile problem

Per Mellander per at mellander.org
Thu Sep 22 09:19:28 CEST 2005


With enclosed patch I finally managed to compile streamdev-CVS of 20050922 
with gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) and vdr-1.3.32

I'm running Fedora Core 4 with 2.6.13.1 on an EPIA M10000

/Mel
-------------- next part --------------
diff -Naur streamdev/client/filter.c streamdev-fix/client/filter.c
--- streamdev/client/filter.c	2005-02-08 14:59:16.000000000 +0100
+++ streamdev-fix/client/filter.c	2005-09-22 08:54:12.000000000 +0200
@@ -6,6 +6,8 @@
 #include "client/socket.h"
 #include "tools/select.h"
 #include "common.h"
+#include "libdvbmpeg/transform.h"
+#include "libdvbmpeg/ctools.h"
 
 #include <vdr/ringbuffer.h>
 
diff -Naur streamdev/remux/ts2es.c streamdev-fix/remux/ts2es.c
--- streamdev/remux/ts2es.c	2005-02-11 17:44:14.000000000 +0100
+++ streamdev-fix/remux/ts2es.c	2005-09-22 09:03:46.000000000 +0200
@@ -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 -Naur streamdev/remux/ts2ps.c streamdev-fix/remux/ts2ps.c
--- streamdev/remux/ts2ps.c	2005-02-11 17:44:15.000000000 +0100
+++ streamdev-fix/remux/ts2ps.c	2005-09-22 09:01:18.000000000 +0200
@@ -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);
diff -Naur streamdev/server/livefilter.h streamdev-fix/server/livefilter.h
--- streamdev/server/livefilter.h	2004-12-30 23:44:27.000000000 +0100
+++ streamdev-fix/server/livefilter.h	2005-09-22 08:57:13.000000000 +0200
@@ -11,6 +11,7 @@
 
 #include <vdr/filter.h>
 
+class cStreamdevLiveStreamer;
 class cStreamdevLiveFilter: public cFilter {
 	friend class cStreamdevLiveStreamer;
 


More information about the vdr mailing list