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

Commented out the logging in cMarks::Align()

This commit is contained in:
Klaus Schmidinger 2018-03-17 10:56:13 +01:00
parent 043929d850
commit 64e8a34281
3 changed files with 8 additions and 4 deletions

View File

@ -2629,6 +2629,7 @@ J
for adding the 'aux' member to cEvent for adding the 'aux' member to cEvent
for reporting a possible deadlock when quickly zapping through encrypted channels for reporting a possible deadlock when quickly zapping through encrypted channels
for a patch that was used to implement cStatus::MarksModified() for a patch that was used to implement cStatus::MarksModified()
for suggesting to no longer log unaligned marks in cMarks::Align()
Peter Pinnau <vdr@unterbrecher.de> Peter Pinnau <vdr@unterbrecher.de>
for reporting that 'uint32_t' requires including stdint.h in font.h on some systems for reporting that 'uint32_t' requires including stdint.h in font.h on some systems

View File

@ -9162,7 +9162,7 @@ Video Disk Recorder Revision History
a subdirectory. a subdirectory.
- SVDRP peering can now be limited to the default SVDRP host (see MANUAL for details). - SVDRP peering can now be limited to the default SVDRP host (see MANUAL for details).
2018-03-11: Version 2.3.9 2018-03-17: Version 2.3.9
- Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Italian OSD texts (thanks to Diego Pierotto).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
@ -9307,3 +9307,6 @@ Video Disk Recorder Revision History
recordings in the video directory (which was introduced in version 2.3.8), because it recordings in the video directory (which was introduced in version 2.3.8), because it
triggered re-reading the video directory too fast. triggered re-reading the video directory too fast.
- Improved handling VPS timers to better react to EPG changes during an ongoing recording. - Improved handling VPS timers to better react to EPG changes during an ongoing recording.
- Commented out the logging in cMarks::Align(), to avoid log entries in case of editing
marks that are not generated by VDR itself, and thus may be a little off (suggested by
Jörg Wendel). You can activate this line again for debugging if necessary.

View File

@ -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: recording.c 4.21 2018/03/09 15:30:52 kls Exp $ * $Id: recording.c 4.22 2018/03/17 10:56:13 kls Exp $
*/ */
#include "recording.h" #include "recording.h"
@ -2190,8 +2190,8 @@ void cMarks::Align(void)
cIndexFile IndexFile(recordingFileName, false, isPesRecording); cIndexFile IndexFile(recordingFileName, false, isPesRecording);
for (cMark *m = First(); m; m = Next(m)) { for (cMark *m = First(); m; m = Next(m)) {
int p = IndexFile.GetClosestIFrame(m->Position()); int p = IndexFile.GetClosestIFrame(m->Position());
if (int d = m->Position() - p) { if (m->Position() - p) {
isyslog("aligned editing mark %s to %s (off by %d frame%s)", *IndexToHMSF(m->Position(), true, framesPerSecond), *IndexToHMSF(p, true, framesPerSecond), d, abs(d) > 1 ? "s" : ""); //isyslog("aligned editing mark %s to %s (off by %d frame%s)", *IndexToHMSF(m->Position(), true, framesPerSecond), *IndexToHMSF(p, true, framesPerSecond), m->Position() - p, abs(m->Position() - p) > 1 ? "s" : "");
m->SetPosition(p); m->SetPosition(p);
} }
} }