summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-01 13:38:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-01 13:38:09 +0200
commit7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974 (patch)
tree0206d29bd3f2599bdf46ff563f6b6e7bba68a785 /dvbapi.c
parentba409a203a736ed3dfce5b5082e1eb0c803f6450 (diff)
downloadvdr-7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974.tar.gz
vdr-7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974.tar.bz2
Copying summary info when cutting a recording
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 51434e12..8e502ed1 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -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;
}