summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-12 10:53:46 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-12 10:53:46 +0100
commit4aaaa97ade72c8cb7769adfd2b186fd237557e8f (patch)
treefe4e7b3d6fd742916393fb7cf19345bc991e8202 /dvbplayer.c
parentcc2e3bfeb055239dab3d5e5566c89840882365a8 (diff)
downloadvdr-4aaaa97ade72c8cb7769adfd2b186fd237557e8f.tar.gz
vdr-4aaaa97ade72c8cb7769adfd2b186fd237557e8f.tar.bz2
Fixed using "Pause" and "Slow motion" near the end of a recording
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 241c7ec8..c9c8fa03 100644
--- a/dvbplayer.c
+++ b/dvbplayer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@@ -576,7 +576,7 @@ void cDvbPlayer::Action(void)
if (eof || SwitchToPlayFrame) {
bool SwitchToPlay = false;
uint32_t Stc = DeviceGetSTC();
- if (Stc != LastStc)
+ if (Stc != LastStc || playMode == pmPause)
StuckAtEof = 0;
else if (!StuckAtEof)
StuckAtEof = time(NULL);