summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-12-05 11:49:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-12-05 11:49:33 +0100
commitc005465d9005c7b8918564055639c1766c099121 (patch)
treef332d6c61391a3848dc181a08a9cc3981e898992 /menu.c
parent0f7b73016add926ed86131e553004c85e294218f (diff)
downloadvdr-c005465d9005c7b8918564055639c1766c099121.tar.gz
vdr-c005465d9005c7b8918564055639c1766c099121.tar.bz2
The new option "Setup/Replay/Progress display time" can be used to activate automatically displaying the progress display whenever replay of a recording is started
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 445d3d97..47db4de2 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 2.68 2012/12/05 09:57:20 kls Exp $
+ * $Id: menu.c 2.69 2012/12/05 11:36:48 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 cMenuEditIntItem( tr("Setup.Replay$Progress display time (s)"), &data.ProgressDisplayTime, 0, 60));
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));
}
@@ -4477,6 +4478,8 @@ cReplayControl::cReplayControl(bool PauseLive)
cStatus::MsgReplaying(this, Recording.Name(), Recording.FileName(), true);
marks.Load(fileName, Recording.FramesPerSecond(), Recording.IsPesRecording());
SetTrackDescriptions(false);
+ if (Setup.ProgressDisplayTime)
+ ShowTimed(Setup.ProgressDisplayTime);
}
cReplayControl::~cReplayControl()