diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-01 13:38:09 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-01 13:38:09 +0200 |
commit | 7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974 (patch) | |
tree | 0206d29bd3f2599bdf46ff563f6b6e7bba68a785 /dvbapi.c | |
parent | ba409a203a736ed3dfce5b5082e1eb0c803f6450 (diff) | |
download | vdr-7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974.tar.gz vdr-7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974.tar.bz2 |
Copying summary info when cutting a recording
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -7,7 +7,7 @@ * DVD support initially written by Andreas Schultz <aschultz@warp10.net> * based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si> * - * $Id: dvbapi.c 1.110 2001/08/25 13:52:38 kls Exp $ + * $Id: dvbapi.c 1.111 2001/09/01 13:27:52 kls Exp $ */ //#define DVDDEBUG 1 @@ -2256,8 +2256,10 @@ cCuttingBuffer *cVideoCutter::cuttingBuffer = NULL; bool cVideoCutter::Start(const char *FileName) { if (!cuttingBuffer) { - const char *EditedVersionName = PrefixVideoFileName(FileName, '%'); + cRecording Recording(FileName); + const char *EditedVersionName = Recording.PrefixFileName('%'); if (EditedVersionName && RemoveVideoFile(EditedVersionName) && MakeDirs(EditedVersionName, true)) { + Recording.WriteSummary(); cuttingBuffer = new cCuttingBuffer(FileName, EditedVersionName); return true; } |