summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--client/device.c2
-rw-r--r--client/setup.c6
3 files changed, 6 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index 00fa5b1..df8079a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- With VDR 1.7.25 priorities down to -99 will be used. Please update
+ "Minimum Priority" in streamdev-client setup.
- Use the new streamdev-client setup option "Live TV Priority" to control
precedence among multiple clients. The VDR option "Primary Limit" which
has previouly been used for this purpose has been dropped in VDR 1.7.25.
diff --git a/client/device.c b/client/device.c
index ad7a6bd..f82e7d5 100644
--- a/client/device.c
+++ b/client/device.c
@@ -34,7 +34,7 @@ cStreamdevDevice::cStreamdevDevice(void) {
m_Device = this;
m_Pids = 0;
- m_Priority = -1;
+ m_Priority = -100;
m_DvrClosed = true;
}
diff --git a/client/setup.c b/client/setup.c
index c671c63..dbb2dcc 100644
--- a/client/setup.c
+++ b/client/setup.c
@@ -16,7 +16,7 @@ cStreamdevClientSetup::cStreamdevClientSetup(void) {
StreamFilters = false;
HideMenuEntry = false;
LivePriority = 0;
- MinPriority = -1;
+ MinPriority = -MAXPRIORITY;
MaxPriority = MAXPRIORITY;
#if APIVERSNUM >= 10700
NumProvidedSystems = 1;
@@ -56,8 +56,8 @@ cStreamdevClientMenuSetupPage::cStreamdevClientMenuSetupPage(void) {
Add(new cMenuEditIntItem (tr("Timeout (s)"), &m_NewSetup.Timeout, 1, 15));
Add(new cMenuEditBoolItem(tr("Filter Streaming"), &m_NewSetup.StreamFilters));
Add(new cMenuEditIntItem (tr("Live TV Priority"), &m_NewSetup.LivePriority, 0, MAXPRIORITY));
- Add(new cMenuEditIntItem (tr("Minimum Priority"), &m_NewSetup.MinPriority, -1, MAXPRIORITY));
- Add(new cMenuEditIntItem (tr("Maximum Priority"), &m_NewSetup.MaxPriority, -1, MAXPRIORITY));
+ Add(new cMenuEditIntItem (tr("Minimum Priority"), &m_NewSetup.MinPriority, -MAXPRIORITY, MAXPRIORITY));
+ Add(new cMenuEditIntItem (tr("Maximum Priority"), &m_NewSetup.MaxPriority, -MAXPRIORITY, MAXPRIORITY));
#if APIVERSNUM >= 10715
Add(new cMenuEditIntItem (tr("Broadcast Systems / Cost"), &m_NewSetup.NumProvidedSystems, 1, 15));
#elif APIVERSNUM >= 10700