summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-13 20:26:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-13 20:26:51 +0200
commit5ed57fa1c5c2e33c218e60d906dc8e8163f50c16 (patch)
treeffbc38cfa37e76b14523d1001fe15dac6fe08923 /cutter.c
parent1369239b53ee23fa1f790c67649facb4f8e547ff (diff)
downloadvdr-5ed57fa1c5c2e33c218e60d906dc8e8163f50c16.tar.gz
vdr-5ed57fa1c5c2e33c218e60d906dc8e8163f50c16.tar.bz2
The list of recordings is now kept statically in memory
Diffstat (limited to 'cutter.c')
-rw-r--r--cutter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cutter.c b/cutter.c
index 25169a2a..c8ed60ec 100644
--- a/cutter.c
+++ b/cutter.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: cutter.c 1.6 2003/10/18 11:29:37 kls Exp $
+ * $Id: cutter.c 1.7 2004/06/13 16:04:08 kls Exp $
*/
#include "cutter.h"
@@ -205,6 +205,7 @@ bool cCutter::Start(const char *FileName)
// XXX
editedVersionName = strdup(evn);
Recording.WriteSummary();
+ Recordings.AddByName(editedVersionName);
cuttingThread = new cCuttingThread(FileName, editedVersionName);
return true;
}
@@ -224,6 +225,7 @@ void cCutter::Stop(void)
if (Error)
esyslog("ERROR: '%s' during editing process", Error);
RemoveVideoFile(editedVersionName); //XXX what if this file is currently being replayed?
+ Recordings.DelByName(editedVersionName);
}
}