summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-05-16 08:46:17 +0200
committerFrank Schmirler <vdr@schmirler.de>2011-05-16 08:46:17 +0200
commitf6299b45840e6c874f7ec3457a69ecf3310a6b51 (patch)
tree769f5ad79bcaab1c7ed16d20f42ef85319fb5883
parent09e0a0176bfea6b37ba9ffc5aa0fe11f6de30f61 (diff)
downloadvdr-plugin-streamdev-f6299b45840e6c874f7ec3457a69ecf3310a6b51.tar.gz
vdr-plugin-streamdev-f6299b45840e6c874f7ec3457a69ecf3310a6b51.tar.bz2
fixed missing #ifdefs for new NumProvidedSystems setup option
-rw-r--r--HISTORY1
-rw-r--r--client/setup.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 4537a97..3758c51 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- fixed missing #ifdefs for new NumProvidedSystems setup option
- new externremux.sh mencoder config options: audio pid by language code
(-alang) and verbosity (-msglevel) (thanks to Pekko Tiitto)
- writer must not spend too much time waiting in select() without checking
diff --git a/client/setup.c b/client/setup.c
index 907c294..10e705e 100644
--- a/client/setup.c
+++ b/client/setup.c
@@ -35,7 +35,9 @@ bool cStreamdevClientSetup::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
else if (strcmp(Name, "MinPriority") == 0) MinPriority = atoi(Value);
else if (strcmp(Name, "MaxPriority") == 0) MaxPriority = atoi(Value);
+#if APIVERSNUM >= 10700
else if (strcmp(Name, "NumProvidedSystems") == 0) NumProvidedSystems = atoi(Value);
+#endif
else return false;
return true;
}
@@ -77,7 +79,9 @@ void cStreamdevClientMenuSetupPage::Store(void) {
SetupStore("HideMenuEntry", m_NewSetup.HideMenuEntry);
SetupStore("MinPriority", m_NewSetup.MinPriority);
SetupStore("MaxPriority", m_NewSetup.MaxPriority);
+#if APIVERSNUM >= 10700
SetupStore("NumProvidedSystems", m_NewSetup.NumProvidedSystems);
+#endif
StreamdevClientSetup = m_NewSetup;