mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed starting replay after jumping to an editing mark
This commit is contained in:
parent
78a09b5926
commit
adeb6314fb
3
HISTORY
3
HISTORY
@ -9766,7 +9766,8 @@ Video Disk Recorder Revision History
|
||||
(reported by Timo Weingärtner).
|
||||
- Official release.
|
||||
|
||||
2021-12-30:
|
||||
2022-01-13:
|
||||
|
||||
- Replaced strncpy() with memcpy() in strreplace() to avoid a compiler warning
|
||||
(reported by Marco Mäkelä).
|
||||
- Fixed starting replay after jumping to an editing mark.
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: dvbplayer.c 4.6 2019/05/27 13:54:19 kls Exp $
|
||||
* $Id: dvbplayer.c 5.1 2022/01/13 21:41:41 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbplayer.h"
|
||||
@ -914,7 +914,7 @@ void cDvbPlayer::Goto(int Index, bool Still)
|
||||
ptsIndex.Put(isPesRecording ? PesGetPts(b) : TsGetPts(b, r), Index, true);
|
||||
}
|
||||
playMode = pmStill;
|
||||
readIndex = Index;
|
||||
readIndex = Index - 1; // makes sure a later play starts with this I-frame
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user