diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2018-01-18 10:13:29 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2018-01-18 10:13:29 +0100 |
commit | 165eae9c31604dc35823ef19ac2816ede11c7ee2 (patch) | |
tree | a4a4955b665786e08b8d7d36c4535635b0cff15c /recording.c | |
parent | a343b375dfbc56a6b9489ef38e28c1fee4384d24 (diff) | |
download | vdr-165eae9c31604dc35823ef19ac2816ede11c7ee2.tar.gz vdr-165eae9c31604dc35823ef19ac2816ede11c7ee2.tar.bz2 |
Fixed wrongly removing the edited version after the cutter has completed
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c index bb99d219..76b6ef76 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 4.17 2018/01/16 14:07:04 kls Exp $ + * $Id: recording.c 4.18 2018/01/18 10:13:29 kls Exp $ */ #include "recording.h" @@ -1937,9 +1937,9 @@ void cRecordingsHandlerEntry::Cleanup(cRecordings *Recordings) if (cutter) { // ...which had not yet ended delete cutter; cutter = NULL; + cVideoDirectory::RemoveVideoFile(fileNameDst); + Recordings->DelByName(fileNameDst); } - cVideoDirectory::RemoveVideoFile(fileNameDst); - Recordings->DelByName(fileNameDst); } if ((usage & (ruMove | ruCopy)) // this was a move/copy operation... && ((usage & ruPending) // ...which had not yet started... |