diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2016-12-22 09:41:48 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2016-12-22 09:41:48 +0100 |
commit | fd85701a84c976318afbb69e13d96c1ec44112fc (patch) | |
tree | 2217277a0ba5e1c2c3478dc7caa4348f1d9ead1c /dvbplayer.c | |
parent | 1135a1f9d5d2ee7a36b717ce0fb8f4093d62f982 (diff) | |
download | vdr-fd85701a84c976318afbb69e13d96c1ec44112fc.tar.gz vdr-fd85701a84c976318afbb69e13d96c1ec44112fc.tar.bz2 |
Fixed resuming replay at a given position, which was off by one frame
Diffstat (limited to 'dvbplayer.c')
-rw-r--r-- | dvbplayer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbplayer.c b/dvbplayer.c index ca4007e3..e5c9270b 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 4.1 2015/08/06 13:09:19 kls Exp $ + * $Id: dvbplayer.c 4.2 2016/12/22 09:40:30 kls Exp $ */ #include "dvbplayer.h" @@ -433,6 +433,8 @@ void cDvbPlayer::Action(void) } StateKey.Remove(); } + if (readIndex > 0) // will first be incremented in the loop! + --readIndex; nonBlockingFileReader = new cNonBlockingFileReader; int Length = 0; |