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

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, for suggesting to make the 'Allowed' parameter in cMenuEditStrItem() NULL by default,
which results in using tr(FileNameChars) which results in using tr(FileNameChars)
for fixing handling "none" color entries in XPM files 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> David Woodhouse <dwmw2@infradead.org>
for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with 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 "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 are folders and plain recordings with names that differ only in non-alphanumeric
characters" in version 1.7.36). 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 * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "menu.h"
@ -4777,8 +4777,10 @@ void cReplayControl::MarkToggle(void)
marks.Add(Current); marks.Add(Current);
bool Play, Forward; bool Play, Forward;
int Speed; int Speed;
if (Setup.PauseOnMarkSet || GetReplayMode(Play, Forward, Speed) && !Play) if (Setup.PauseOnMarkSet || GetReplayMode(Play, Forward, Speed) && !Play) {
Goto(Current, true); Goto(Current, true);
displayFrames = true;
}
} }
ShowTimed(2); ShowTimed(2);
marksModified = true; marksModified = true;