summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-02-13 15:17:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-02-13 15:17:45 +0100
commit01b113728457a91ce8d64d5a8c09ac188df9a73a (patch)
tree7acd164fd631ecb940f4a67919024df23b6f1f68 /dvbplayer.c
parentd99d408fd8ea5e95dfc51480dfaad9f9aa409b49 (diff)
downloadvdr-01b113728457a91ce8d64d5a8c09ac188df9a73a.tar.gz
vdr-01b113728457a91ce8d64d5a8c09ac188df9a73a.tar.bz2
Fixed pausing replay at the last editing mark
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 94882e29..aae0507c 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 3.5 2015/02/06 15:08:51 kls Exp $
+ * $Id: dvbplayer.c 3.6 2015/02/13 15:12:57 kls Exp $
*/
#include "dvbplayer.h"
@@ -460,9 +460,9 @@ void cDvbPlayer::Action(void)
// Read the next frame from the file:
- if (playMode != pmStill && playMode != pmPause && !AtLastMark) {
+ if (playMode != pmStill && playMode != pmPause) {
if (!readFrame && (replayFile || readIndex >= 0)) {
- if (!nonBlockingFileReader->Reading()) {
+ if (!nonBlockingFileReader->Reading() && !AtLastMark) {
if (!SwitchToPlayFrame && (playMode == pmFast || (playMode == pmSlow && playDir == pdBackward))) {
uint16_t FileNumber;
off_t FileOffset;