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

Fixed using "Pause" and "Slow motion" near the end of a recording

This commit is contained in:
Klaus Schmidinger 2013-02-12 10:53:46 +01:00
parent cc2e3bfeb0
commit 4aaaa97ade
2 changed files with 4 additions and 2 deletions

View File

@ -7598,3 +7598,5 @@ Video Disk Recorder Revision History
- Fixed an unexpected k_Repeat key event after a k_Release in lirc.c. - Fixed an unexpected k_Repeat key event after a k_Release in lirc.c.
- Fixed permissions of po/sr_SR.po (reported by Dominic Evans). - Fixed permissions of po/sr_SR.po (reported by Dominic Evans).
- Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Italian OSD texts (thanks to Diego Pierotto).
- Fixed using "Pause" and "Slow motion" near the end of a recording (replay stopped
a few seconds after the end of the recording file has been reached).

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: dvbplayer.c 2.29 2013/01/27 14:03:16 kls Exp $ * $Id: dvbplayer.c 2.30 2013/02/12 10:50:10 kls Exp $
*/ */
#include "dvbplayer.h" #include "dvbplayer.h"
@ -576,7 +576,7 @@ void cDvbPlayer::Action(void)
if (eof || SwitchToPlayFrame) { if (eof || SwitchToPlayFrame) {
bool SwitchToPlay = false; bool SwitchToPlay = false;
uint32_t Stc = DeviceGetSTC(); uint32_t Stc = DeviceGetSTC();
if (Stc != LastStc) if (Stc != LastStc || playMode == pmPause)
StuckAtEof = 0; StuckAtEof = 0;
else if (!StuckAtEof) else if (!StuckAtEof)
StuckAtEof = time(NULL); StuckAtEof = time(NULL);