Added VDRVERSNUM to config.h

This commit is contained in:
Klaus Schmidinger 2003-05-11 09:13:51 +02:00
parent 7a0054abbd
commit d067e5eda4
3 changed files with 5 additions and 1 deletions

View File

@ -171,6 +171,7 @@ Stefan Huelswitt <huels@iname.com>
don't indicate an actual encrypted channel don't indicate an actual encrypted channel
for implementing setting the "broken link" flag for GOPs at the beginning of a new for implementing setting the "broken link" flag for GOPs at the beginning of a new
video sequence, which avoids artefacts when cutting video sequence, which avoids artefacts when cutting
for suggesting to add VDRVERSNUM to config.h
Ulrich Röder <roeder@efr-net.de> Ulrich Röder <roeder@efr-net.de>
for pointing out that there are channels that have a symbol rate higher than for pointing out that there are channels that have a symbol rate higher than

View File

@ -2122,3 +2122,5 @@ Video Disk Recorder Revision History
case of 'Transfer Mode', or the primary device otherwise. This may be useful for 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 plugins that want to attach a cReceiver to the device where the current live video
is actually coming from. 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CONFIG_H
@ -20,6 +20,7 @@
#include "tools.h" #include "tools.h"
#define VDRVERSION "1.1.31" #define VDRVERSION "1.1.31"
#define VDRVERSNUM 10131 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99 #define MAXPRIORITY 99
#define MAXLIFETIME 99 #define MAXLIFETIME 99