summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-11 09:13:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-11 09:13:51 +0200
commitd067e5eda4caeda2401d71ab66964a16717f0247 (patch)
treebdd3e029a92727dd2a28e4a990a8cf024af39cae
parent7a0054abbd50149874823cae3f234b00fd87ca70 (diff)
downloadvdr-d067e5eda4caeda2401d71ab66964a16717f0247.tar.gz
vdr-d067e5eda4caeda2401d71ab66964a16717f0247.tar.bz2
Added VDRVERSNUM to config.h
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--config.h3
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 135a486a..ca8febd2 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -171,6 +171,7 @@ Stefan Huelswitt <huels@iname.com>
don't indicate an actual encrypted channel
for implementing setting the "broken link" flag for GOPs at the beginning of a new
video sequence, which avoids artefacts when cutting
+ for suggesting to add VDRVERSNUM to config.h
Ulrich Röder <roeder@efr-net.de>
for pointing out that there are channels that have a symbol rate higher than
diff --git a/HISTORY b/HISTORY
index c9be86da..64c61cd8 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2122,3 +2122,5 @@ Video Disk Recorder Revision History
case of 'Transfer Mode', or the primary device otherwise. This may be useful for
plugins that want to attach a cReceiver to the device where the current live video
is actually coming from.
+- Added VDRVERSNUM to config.h, which can be used by the preprocessor to check the
+ actual VDR version (suggested by Stefan Huelswitt).
diff --git a/config.h b/config.h
index 0b414f9e..22df6132 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.156 2003/05/09 15:20:22 kls Exp $
+ * $Id: config.h 1.157 2003/05/11 09:12:01 kls Exp $
*/
#ifndef __CONFIG_H
@@ -20,6 +20,7 @@
#include "tools.h"
#define VDRVERSION "1.1.31"
+#define VDRVERSNUM 10131 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99
#define MAXLIFETIME 99