summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-27 21:22:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-27 21:22:53 +0100
commit91e01516746d43ddcfecf24d7382e590af97c1ef (patch)
treeb621878292e6f064ad9be7d3e2d2eab598b86a9d /config.c
parent4aa496b079925877c5cdf171597f4edc7df0a9b1 (diff)
downloadvdr-91e01516746d43ddcfecf24d7382e590af97c1ef.tar.gz
vdr-91e01516746d43ddcfecf24d7382e590af97c1ef.tar.bz2
The keys '1' and '3' can now be used in replay mode to position an editing mark in "binary" mode
Diffstat (limited to 'config.c')
-rw-r--r--config.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.c b/config.c
index 69a26245..e1928458 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.4 2015/01/25 14:17:45 kls Exp $
+ * $Id: config.c 3.5 2015/01/27 10:51:19 kls Exp $
*/
#include "config.h"
@@ -473,6 +473,8 @@ cSetup::cSetup(void)
PauseOnMarkJump = 1;
SkipEdited = 0;
PauseAtLastMark = 0;
+ BinarySkipInitial = 120;
+ BinarySkipTimeout = 3000;
ResumeID = 0;
CurrentChannel = -1;
CurrentVolume = MAXVOLUME;
@@ -689,6 +691,8 @@ bool cSetup::Parse(const char *Name, const char *Value)
else if (!strcasecmp(Name, "PauseOnMarkJump")) PauseOnMarkJump = atoi(Value);
else if (!strcasecmp(Name, "SkipEdited")) SkipEdited = atoi(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, "ResumeID")) ResumeID = atoi(Value);
else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value);
else if (!strcasecmp(Name, "CurrentVolume")) CurrentVolume = atoi(Value);
@@ -809,6 +813,8 @@ bool cSetup::Save(void)
Store("PauseOnMarkJump", PauseOnMarkJump);
Store("SkipEdited", SkipEdited);
Store("PauseAtLastMark", PauseAtLastMark);
+ Store("BinarySkipInitial", BinarySkipInitial);
+ Store("BinarySkipTimeout", BinarySkipTimeout);
Store("ResumeID", ResumeID);
Store("CurrentChannel", CurrentChannel);
Store("CurrentVolume", CurrentVolume);