mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
fixed missing #ifdefs for new NumProvidedSystems setup option
This commit is contained in:
parent
09e0a0176b
commit
f6299b4584
1
HISTORY
1
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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user