freebsd-ports/multimedia/vdr/files/patch-device.h
Juergen Lock 0f8592a752 Preliminary port of the vdr development branch, use at your own risk! :)
See vdr/webcamd dvb thread(s) on the freebsd-multimedia list for FreeBSD
notes, some links are here:

	http://people.freebsd.org/~nox/dvb/

and see these links for general vdr info:

	http://www.linuxtv.org/vdrwiki/index.php/Main_Page
	http://www.vdr-portal.de/

WWW: http://www.tvdr.de/
2011-03-26 19:13:50 +00:00

20 lines
716 B
C++

--- device.h.orig
+++ device.h
@@ -25,7 +25,7 @@
#include "thread.h"
#include "tools.h"
-#define MAXDEVICES 16 // the maximum number of devices in the system
+#define MAXDEVICES 64 // the maximum number of devices in the system
#define MAXPIDHANDLES 64 // the maximum number of different PIDs per device
#define MAXRECEIVERS 16 // the maximum number of receivers per device
#define MAXVOLUME 255
@@ -105,7 +105,7 @@ class cDevice : public cThread {
friend class cDeviceHook;
private:
static int numDevices;
- static int useDevice;
+ static uint64_t useDevice;
static cDevice *device[MAXDEVICES];
static cDevice *primaryDevice;
static cDevice *avoidDevice;