summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-02 10:19:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-02 10:19:00 +0100
commit28bc34b245ffdf0c205f0c5f2624e5c7d94d3c54 (patch)
tree94ac74945d31647fb7087e9d36e30d8d74cb40ec /config.h
parenta188928e6ea462e45da7c363a3098065c4691953 (diff)
downloadvdr-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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/config.h b/config.h
index 5339fb1e..77199680 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 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