mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed displaying editing marks when toggling a mark in 'pause' mode
This commit is contained in:
parent
2069b9946e
commit
0b73f060d0
1
HISTORY
1
HISTORY
@ -645,3 +645,4 @@ Video Disk Recorder Revision History
|
||||
- Added the "Jump" function in replay mode (thanks to Stefan Huelswitt).
|
||||
See the description of the "Red" key in MANUAL under "Replay Control" for
|
||||
details.
|
||||
- Fixed displaying editing marks when toggling a mark in "pause" mode.
|
||||
|
5
menu.c
5
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 1.100 2001/08/11 14:30:21 kls Exp $
|
||||
* $Id: menu.c 1.101 2001/08/11 15:04:05 kls Exp $
|
||||
*/
|
||||
|
||||
#include "menu.h"
|
||||
@ -2458,6 +2458,7 @@ void cReplayControl::MarkToggle(void)
|
||||
int Current, Total;
|
||||
if (dvbApi->GetIndex(Current, Total, true)) {
|
||||
cMark *m = marks.Get(Current);
|
||||
lastCurrent = -1; // triggers redisplay
|
||||
if (m)
|
||||
marks.Del(m);
|
||||
else {
|
||||
@ -2596,7 +2597,7 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
|
||||
}
|
||||
}
|
||||
if (DisplayedFrames && !displayFrames)
|
||||
Interface->Fill(0, 2, Width() / 2, 1, clrBackground);
|
||||
Interface->Fill(0, 2, 11, 1, clrBackground);
|
||||
return osContinue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user