diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-08-06 16:19:20 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-08-06 16:19:20 +0200 |
commit | c19ad04a214169430f2db45f631c3d49dbcb6af9 (patch) | |
tree | 9e3d04c86a5865e2c47d2af4a5ef1f948fd7be34 /dvd.c | |
parent | 81cf0719fe0375407b304d17b2d6760940e06cfa (diff) | |
download | vdr-c19ad04a214169430f2db45f631c3d49dbcb6af9.tar.gz vdr-c19ad04a214169430f2db45f631c3d49dbcb6af9.tar.bz2 |
DVD support is now optional
Diffstat (limited to 'dvd.c')
-rw-r--r-- | dvd.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -6,11 +6,13 @@ * * Initially written by Andreas Schultz <aschultz@warp10.net> * - * $Id: dvd.c 1.2 2001/08/05 15:00:45 kls Exp $ + * $Id: dvd.c 1.3 2001/08/06 16:07:44 kls Exp $ */ -//XXX //#define DVDDEBUG 1 -//XXX //#define DEBUG_BUFFER 1 +#ifdef DVDSUPPORT + +//#define DVDSUPPORTDEBUG 1 +//#define DEBUG_BUFFER 1 #include <fcntl.h> #include <linux/cdrom.h> @@ -92,7 +94,7 @@ void cDVD::Open(void) void cDVD::Close(void) { -#ifdef DVDDEBUG +#ifdef DVDSUPPORTDEBUG dsyslog(LOG_INFO, "DVD: cDVD::Close(%p): vts: %p, vmg: %p, title: %p, dvd: %p", this, vts_file, vmg_file, title, dvd); #endif if (vts_file) @@ -143,3 +145,4 @@ dvd_file_t *cDVD::openTitle(int Title, dvd_read_domain_t domain) return title; } +#endif //DVDSUPPORT |