r368 - vdr/vdr-plugin-dvd/trunk/debian/patches
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Fri, 01 Apr 2005 23:24:12 +0000
Author: tiber-guest
Date: 2005-04-01 23:24:11 +0000 (Fri, 01 Apr 2005)
New Revision: 368
Modified:
vdr/vdr-plugin-dvd/trunk/debian/patches/02_ignore_not_existing_drive.dpatch
Log:
vdr-plugin-dvd: do not fall back to /dev/dvd if device not found on vdr start. it may become available later
Modified: vdr/vdr-plugin-dvd/trunk/debian/patches/02_ignore_not_existing_drive.dpatch
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/patches/02_ignore_not_existing_drive.dpatch 2005-04-01 23:19:33 UTC (rev 367)
+++ vdr/vdr-plugin-dvd/trunk/debian/patches/02_ignore_not_existing_drive.dpatch 2005-04-01 23:24:11 UTC (rev 368)
@@ -5,19 +5,18 @@
## DP: Ignore not existing drive instead of aborting the VDR start.
@DPATCH@
-diff -urNad vdr-plugin-dvd/dvd.c /tmp/dpep.9Lk3lV/vdr-plugin-dvd/dvd.c
---- vdr-plugin-dvd/dvd.c 2005-03-31 22:53:27.000000000 +0200
-+++ /tmp/dpep.9Lk3lV/vdr-plugin-dvd/dvd.c 2005-03-31 22:46:21.000000000 +0200
-@@ -44,8 +44,11 @@
+diff -urNad vdr-plugin-dvd/dvd.c /tmp/dpep.1iZMCf/vdr-plugin-dvd/dvd.c
+--- vdr-plugin-dvd/dvd.c 2005-03-31 23:01:29.000000000 +0200
++++ /tmp/dpep.1iZMCf/vdr-plugin-dvd/dvd.c 2005-04-01 23:30:20.000000000 +0200
+@@ -44,8 +44,10 @@
fprintf(stderr, "arg: %s\n", optarg);
cDVD::SetDeviceName(optarg);
if (!cDVD::DriveExists()) {
- fprintf(stderr, "vdr: DVD drive not found: %s\n", optarg);
- return false;
-+ char* msg = "vdr: DVD drive not found: %s\n using /dev/dvd";
++ char* msg = "vdr: DVD drive not found: %s\n";
+ fprintf(stderr, msg, optarg);
+ isyslog(msg, optarg);
-+ cDVD::SetDeviceName("/dev/dvd");
+ return true;
}
break;