1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

When setting an editing mark while in "Pause" mode, replay now immediately jumps to the marked frame

This commit is contained in:
Klaus Schmidinger 2003-09-06 10:35:24 +02:00
parent 8d89fb4983
commit 6d677e2a89
3 changed files with 12 additions and 2 deletions

View File

@ -795,3 +795,7 @@ Rene Bartsch <ml@bartschnet.de>
Christoph Hermanns <christoph.hermanns@gmx.de> Christoph Hermanns <christoph.hermanns@gmx.de>
for reporting a bug in handling the "Red" button in the "Schedules" menu in case for reporting a bug in handling the "Red" button in the "Schedules" menu in case
there are no events listed for a particular channel there are no events listed for a particular channel
Oskar Signell <oskar@signell.net>
for pointing out a problem with setting an editing mark while in "Pause" mode,
where replay was not immediately positioned to the marked frame

View File

@ -2369,3 +2369,6 @@ Video Disk Recorder Revision History
- Fixed handling the "Red" button in the "Schedules" menu in case there are no - Fixed handling the "Red" button in the "Schedules" menu in case there are no
events listed for a particular channel (thanks to Christoph Hermanns for events listed for a particular channel (thanks to Christoph Hermanns for
reporting this one). reporting this one).
- When setting an editing mark while in "Pause" mode, replay now immediately
jumps to the marked frame (thanks to Oskar Signell for pointing out this
problem).

7
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.270 2003/09/05 13:30:02 kls Exp $ * $Id: menu.c 1.271 2003/09/06 10:26:45 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -3531,6 +3531,10 @@ void cReplayControl::MarkToggle(void)
else { else {
marks.Add(Current); marks.Add(Current);
ShowTimed(2); ShowTimed(2);
bool Play, Forward;
int Speed;
if (GetReplayMode(Play, Forward, Speed) && !Play)
Goto(Current, true);
} }
marks.Save(); marks.Save();
} }
@ -3659,7 +3663,6 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
DoShowMode = false; DoShowMode = false;
switch (Key) { switch (Key) {
// Editing: // Editing:
//XXX should we do this only when the ProgressDisplay is on???
case kMarkToggle: MarkToggle(); break; case kMarkToggle: MarkToggle(); break;
case kMarkJumpBack: MarkJump(false); break; case kMarkJumpBack: MarkJump(false); break;
case kMarkJumpForward: MarkJump(true); break; case kMarkJumpForward: MarkJump(true); break;