summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-10-25 13:58:20 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-10-25 13:58:20 +0100
commit2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06 (patch)
treee867eaf78d37550b929376bf9352b4753b1bdc7a
parent611625ca3dc4fb7c87d9911c92f883d8b01832fd (diff)
downloadvdr-2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06.tar.gz
vdr-2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06.tar.bz2
Only checking DVB_API_VERSION to be >=5 in order to stay compileable in case the DVB API version number is increased
-rw-r--r--HISTORY5
-rw-r--r--dvbdevice.h6
2 files changed, 7 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index 5343351e..6e4b1276 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6157,7 +6157,7 @@ Video Disk Recorder Revision History
Reinhard Nissl).
- Implemented full handling of subtitling descriptors (thanks to Mikko Tuumanen).
-2009-10-18: Version 1.7.10
+2009-10-25: Version 1.7.10
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Fixed wrong bracketing in cChannel::SubtitlingType() etc.
@@ -6167,3 +6167,6 @@ Video Disk Recorder Revision History
- Changed the project's URLs and email to tvdr.de.
- Added Lithuanian language translations (thanks to Valdemaras Pipiras).
- Updated Chinese language texts (thanks to Nan Feng).
+- Only checking DVB_API_VERSION to be >=5 in order to stay compileable in case
+ the DVB API version number is increased (the API claims to always be backward
+ compatible).
diff --git a/dvbdevice.h b/dvbdevice.h
index e3e28d02..3e35d91a 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.h 2.8 2009/06/06 11:16:47 kls Exp $
+ * $Id: dvbdevice.h 2.9 2009/10/25 13:58:20 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -16,8 +16,8 @@
#include "device.h"
#include "dvbspu.h"
-#if DVB_API_VERSION != 5 || DVB_API_VERSION_MINOR != 0
-#error VDR requires Linux DVB driver API version 5.0!
+#if DVB_API_VERSION < 5
+#error VDR requires Linux DVB driver API version 5.0 or higher!
#endif
#define MAXDVBDEVICES 8