diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-05-25 20:09:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-05-25 20:09:29 +0200 |
commit | 7775698bacf8053355be9c86fbab0eb5e244aa1a (patch) | |
tree | 88a042c8a3dce857ebd55ad93bfd2555347ae666 /recording.c | |
parent | 8f52603665c024e1cab46529b34fb75719f5a58e (diff) | |
download | vdr-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.c | 6 |
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); |