mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The error counter of a recording is now copied as is when editing a recording
This commit is contained in:
parent
8f52603665
commit
7775698bac
3
HISTORY
3
HISTORY
@ -9706,7 +9706,8 @@ Video Disk Recorder Revision History
|
|||||||
order to restore this functionality. However, it is recommended to use the function
|
order to restore this functionality. However, it is recommended to use the function
|
||||||
with the TimerActive parameter instead.
|
with the TimerActive parameter instead.
|
||||||
|
|
||||||
2021-05-23:
|
2021-05-25:
|
||||||
|
|
||||||
- cRecordingInfo::Errors() now returns -1 for old recordings; added a missing 'const'
|
- cRecordingInfo::Errors() now returns -1 for old recordings; added a missing 'const'
|
||||||
(suggested by Christoph Haubrich).
|
(suggested by Christoph Haubrich).
|
||||||
|
- The error counter of a recording is now copied as is when editing a recording.
|
||||||
|
@ -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 5.8 2021/05/23 15:03:17 kls Exp $
|
* $Id: recording.c 5.9 2021/05/25 20:09:29 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -1206,10 +1206,6 @@ bool cRecording::WriteInfo(const char *OtherFileName)
|
|||||||
else
|
else
|
||||||
info->SetErrors(0);
|
info->SetErrors(0);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
// This is an edited recording, so let's clear the error counter:
|
|
||||||
info->SetErrors(0);
|
|
||||||
}
|
|
||||||
cSafeFile f(InfoFileName);
|
cSafeFile f(InfoFileName);
|
||||||
if (f.Open()) {
|
if (f.Open()) {
|
||||||
info->Write(f);
|
info->Write(f);
|
||||||
|
4
vdr.5
4
vdr.5
@ -8,7 +8,7 @@
|
|||||||
.\" License as specified in the file COPYING that comes with the
|
.\" License as specified in the file COPYING that comes with the
|
||||||
.\" vdr distribution.
|
.\" vdr distribution.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: vdr.5 5.2 2021/05/19 11:22:20 kls Exp $
|
.\" $Id: vdr.5 5.3 2021/05/25 20:09:29 kls Exp $
|
||||||
.\"
|
.\"
|
||||||
.TH vdr 5 "15 Apr 2018" "2.4" "Video Disk Recorder Files"
|
.TH vdr 5 "15 Apr 2018" "2.4" "Video Disk Recorder Files"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
@ -824,6 +824,8 @@ l l.
|
|||||||
The 'O' tag contains the number of errors that occurred during recording.
|
The 'O' tag contains the number of errors that occurred during recording.
|
||||||
If it is zero, the recording can be safely considered error free. The higher the value,
|
If it is zero, the recording can be safely considered error free. The higher the value,
|
||||||
the more damaged the recording is.
|
the more damaged the recording is.
|
||||||
|
If this is an edited recording, the number of errors is that of the original
|
||||||
|
recording.
|
||||||
.SS RESUME
|
.SS RESUME
|
||||||
The file \fIresume\fR (if present in a recording directory) contains
|
The file \fIresume\fR (if present in a recording directory) contains
|
||||||
the position within the recording where the last replay session left off.
|
the position within the recording where the last replay session left off.
|
||||||
|
Loading…
Reference in New Issue
Block a user