diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-02 10:19:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-02 10:19:00 +0100 |
commit | 28bc34b245ffdf0c205f0c5f2624e5c7d94d3c54 (patch) | |
tree | 94ac74945d31647fb7087e9d36e30d8d74cb40ec /config.h | |
parent | a188928e6ea462e45da7c363a3098065c4691953 (diff) | |
download | vdr-28bc34b245ffdf0c205f0c5f2624e5c7d94d3c54.tar.gz vdr-28bc34b245ffdf0c205f0c5f2624e5c7d94d3c54.tar.bz2 |
Revised priority handling to allow receivers with a priority that is lower than that of live viewing
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 2.42 2012/02/25 13:31:34 kls Exp $ + * $Id: config.h 2.43 2012/02/29 12:28:01 kls Exp $ */ #ifndef __CONFIG_H @@ -36,8 +36,12 @@ // plugins to work with newer versions of the core VDR as long as no // VDR header files have changed. -#define MAXPRIORITY 99 -#define MAXLIFETIME 99 +#define MAXPRIORITY 99 +#define MINPRIORITY (-MAXPRIORITY) +#define LIVEPRIORITY 0 // priority used when selecting a device for live viewing +#define TRANSFERPRIORITY (LIVEPRIORITY - 1) // priority used for actual local Transfer Mode +#define IDLEPRIORITY (MINPRIORITY - 1) // priority of an idle device +#define MAXLIFETIME 99 #define MINOSDWIDTH 480 #define MAXOSDWIDTH 1920 |