summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-02-02 13:59:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-02-02 13:59:19 +0100
commite2d0f3f8453750ce0de8a02289fe58161c2c505e (patch)
treeb98f18799adf2d7e9b669baeb47e621190055546 /config.c
parented766859d7416fa6a23b98d3709632dbffb4553c (diff)
downloadvdr-e2d0f3f8453750ce0de8a02289fe58161c2c505e.tar.gz
vdr-e2d0f3f8453750ce0de8a02289fe58161c2c505e.tar.bz2
Added "Setup/Replay/Binary skip strict"
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index 9e6f301b..bc9c9b8d 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 3.6 2015/01/29 09:01:30 kls Exp $
+ * $Id: config.c 3.7 2015/02/02 12:22:30 kls Exp $
*/
#include "config.h"
@@ -475,6 +475,7 @@ cSetup::cSetup(void)
PauseAtLastMark = 0;
BinarySkipInitial = 120;
BinarySkipTimeout = 3;
+ BinarySkipStrict = 1;
ResumeID = 0;
CurrentChannel = -1;
CurrentVolume = MAXVOLUME;
@@ -693,6 +694,7 @@ bool cSetup::Parse(const char *Name, const char *Value)
else if (!strcasecmp(Name, "PauseAtLastMark")) PauseAtLastMark = atoi(Value);
else if (!strcasecmp(Name, "BinarySkipInitial")) BinarySkipInitial = atoi(Value);
else if (!strcasecmp(Name, "BinarySkipTimeout")) BinarySkipTimeout = atoi(Value);
+ else if (!strcasecmp(Name, "BinarySkipStrict")) BinarySkipStrict = atoi(Value);
else if (!strcasecmp(Name, "ResumeID")) ResumeID = atoi(Value);
else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value);
else if (!strcasecmp(Name, "CurrentVolume")) CurrentVolume = atoi(Value);
@@ -815,6 +817,7 @@ bool cSetup::Save(void)
Store("PauseAtLastMark", PauseAtLastMark);
Store("BinarySkipInitial", BinarySkipInitial);
Store("BinarySkipTimeout", BinarySkipTimeout);
+ Store("BinarySkipStrict", BinarySkipStrict);
Store("ResumeID", ResumeID);
Store("CurrentChannel", CurrentChannel);
Store("CurrentVolume", CurrentVolume);