diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-05 10:07:12 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-05 10:07:12 +0100 |
commit | cfd9206195fdf6c2582ddba2daab75e8e1ccbbbc (patch) | |
tree | 0dcc3c5cb76f1de4d1d1699619d0aa8f31911126 /menu.c | |
parent | 551b46cab1e6309a9cf077df76879e5a5c250a51 (diff) | |
download | vdr-cfd9206195fdf6c2582ddba2daab75e8e1ccbbbc.tar.gz vdr-cfd9206195fdf6c2582ddba2daab75e8e1ccbbbc.tar.bz2 |
The new option "Setup/Replay/Pause on mark set" can be used to activate automatically going into Pause mode if an editing mark is set during replay
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 2.67 2012/12/04 13:17:49 kls Exp $ + * $Id: menu.c 2.68 2012/12/05 09:57:20 kls Exp $ */ #include "menu.h" @@ -3140,6 +3140,7 @@ cMenuSetupReplay::cMenuSetupReplay(void) Add(new cMenuEditBoolItem(tr("Setup.Replay$Multi speed mode"), &data.MultiSpeedMode)); Add(new cMenuEditBoolItem(tr("Setup.Replay$Show replay mode"), &data.ShowReplayMode)); Add(new cMenuEditBoolItem(tr("Setup.Replay$Show remaining time"), &data.ShowRemainingTime)); + Add(new cMenuEditBoolItem(tr("Setup.Replay$Pause replay when setting mark"), &data.PauseOnMarkSet)); Add(new cMenuEditIntItem(tr("Setup.Replay$Resume ID"), &data.ResumeID, 0, 99)); } @@ -4741,7 +4742,7 @@ void cReplayControl::MarkToggle(void) marks.Add(Current); bool Play, Forward; int Speed; - if (GetReplayMode(Play, Forward, Speed) && !Play) + if (Setup.PauseOnMarkSet || GetReplayMode(Play, Forward, Speed) && !Play) Goto(Current, true); } ShowTimed(2); |