From d067e5eda4caeda2401d71ab66964a16717f0247 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 May 2003 09:13:51 +0200 Subject: [PATCH] Added VDRVERSNUM to config.h --- CONTRIBUTORS | 1 + HISTORY | 2 ++ config.h | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 135a486a..ca8febd2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -171,6 +171,7 @@ Stefan Huelswitt 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 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