summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-25 20:09:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-25 20:09:29 +0200
commit7775698bacf8053355be9c86fbab0eb5e244aa1a (patch)
tree88a042c8a3dce857ebd55ad93bfd2555347ae666 /recording.c
parent8f52603665c024e1cab46529b34fb75719f5a58e (diff)
downloadvdr-7775698bacf8053355be9c86fbab0eb5e244aa1a.tar.gz
vdr-7775698bacf8053355be9c86fbab0eb5e244aa1a.tar.bz2
The error counter of a recording is now copied as is when editing a recording
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/recording.c b/recording.c
index 574e0bdf..2cf1c888 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@@ -1206,10 +1206,6 @@ bool cRecording::WriteInfo(const char *OtherFileName)
else
info->SetErrors(0);
}
- else {
- // This is an edited recording, so let's clear the error counter:
- info->SetErrors(0);
- }
cSafeFile f(InfoFileName);
if (f.Open()) {
info->Write(f);