Fixed displaying the frame number when setting an editing mark

This commit is contained in:
Klaus Schmidinger 2013-04-27 10:31:23 +02:00
parent cbe8542622
commit 29537da370
3 changed files with 7 additions and 2 deletions

View File

@ -2103,6 +2103,7 @@ Thomas G
for suggesting to make the 'Allowed' parameter in cMenuEditStrItem() NULL by default,
which results in using tr(FileNameChars)
for fixing handling "none" color entries in XPM files
for fixing displaying the frame number when setting an editing mark
David Woodhouse <dwmw2@infradead.org>
for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with

View File

@ -7825,3 +7825,5 @@ Video Disk Recorder Revision History
"Fixed selecting the last replayed recording in the Recordings menu in case there
are folders and plain recordings with names that differ only in non-alphanumeric
characters" in version 1.7.36).
- Fixed displaying the frame number when setting an editing mark (thanks to Thomas
Günther).

6
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 3.1 2013/04/25 12:51:24 kls Exp $
* $Id: menu.c 3.2 2013/04/27 10:25:51 kls Exp $
*/
#include "menu.h"
@ -4777,8 +4777,10 @@ void cReplayControl::MarkToggle(void)
marks.Add(Current);
bool Play, Forward;
int Speed;
if (Setup.PauseOnMarkSet || GetReplayMode(Play, Forward, Speed) && !Play)
if (Setup.PauseOnMarkSet || GetReplayMode(Play, Forward, Speed) && !Play) {
Goto(Current, true);
displayFrames = true;
}
}
ShowTimed(2);
marksModified = true;