1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed shifting editing marks towards the next I-frame in case of PES recordings

This commit is contained in:
Klaus Schmidinger 2012-11-03 11:25:13 +01:00
parent 57a3169013
commit b19e6d071f

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 2.68 2012/11/01 11:51:52 kls Exp $
* $Id: recording.c 2.69 2012/11/03 11:25:13 kls Exp $
*/
#include "recording.h"
@ -1401,7 +1401,7 @@ bool cMarks::Update(void)
void cMarks::Align(void)
{
cIndexFile IndexFile(recordingFileName, isPesRecording);
cIndexFile IndexFile(recordingFileName, false, isPesRecording);
for (cMark *m = First(); m; m = Next(m)) {
int p = IndexFile.GetClosestIFrame(m->Position());
if (int d = m->Position() - p) {