summaryrefslogtreecommitdiff
path: root/dvd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-06 16:19:20 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-06 16:19:20 +0200
commitc19ad04a214169430f2db45f631c3d49dbcb6af9 (patch)
tree9e3d04c86a5865e2c47d2af4a5ef1f948fd7be34 /dvd.c
parent81cf0719fe0375407b304d17b2d6760940e06cfa (diff)
downloadvdr-c19ad04a214169430f2db45f631c3d49dbcb6af9.tar.gz
vdr-c19ad04a214169430f2db45f631c3d49dbcb6af9.tar.bz2
DVD support is now optional
Diffstat (limited to 'dvd.c')
-rw-r--r--dvd.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/dvd.c b/dvd.c
index 025361ab..841e998b 100644
--- a/dvd.c
+++ b/dvd.c
@@ -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