mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed resuming replay at a given position, which was off by one frame
This commit is contained in:
parent
1135a1f9d5
commit
fd85701a84
@ -3327,6 +3327,7 @@ Thomas Reufer <thomas@reufer.ch>
|
|||||||
differences between it and cFont::Height()
|
differences between it and cFont::Height()
|
||||||
for making the cPlayer member functions FramesPerSecond, GetIndex and GetReplayMode
|
for making the cPlayer member functions FramesPerSecond, GetIndex and GetReplayMode
|
||||||
'const'
|
'const'
|
||||||
|
for fixing resuming replay at a given position, which was off by one frame
|
||||||
|
|
||||||
Eike Sauer <EikeSauer@t-online.de>
|
Eike Sauer <EikeSauer@t-online.de>
|
||||||
for reporting a problem with channels that need more than 5 TS packets for detecting
|
for reporting a problem with channels that need more than 5 TS packets for detecting
|
||||||
|
2
HISTORY
2
HISTORY
@ -8855,3 +8855,5 @@ Video Disk Recorder Revision History
|
|||||||
between it and cFont::Height() (suggested to Thomas Reufer).
|
between it and cFont::Height() (suggested to Thomas Reufer).
|
||||||
- Made the cPlayer member functions FramesPerSecond, GetIndex and GetReplayMode
|
- Made the cPlayer member functions FramesPerSecond, GetIndex and GetReplayMode
|
||||||
'const' (thanks to Thomas Reufer).
|
'const' (thanks to Thomas Reufer).
|
||||||
|
- Fixed resuming replay at a given position, which was off by one frame (thanks
|
||||||
|
to Thomas Reufer).
|
||||||
|
@ -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 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"
|
#include "dvbplayer.h"
|
||||||
@ -433,6 +433,8 @@ void cDvbPlayer::Action(void)
|
|||||||
}
|
}
|
||||||
StateKey.Remove();
|
StateKey.Remove();
|
||||||
}
|
}
|
||||||
|
if (readIndex > 0) // will first be incremented in the loop!
|
||||||
|
--readIndex;
|
||||||
|
|
||||||
nonBlockingFileReader = new cNonBlockingFileReader;
|
nonBlockingFileReader = new cNonBlockingFileReader;
|
||||||
int Length = 0;
|
int Length = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user