From 53c5499a0b93cd1cb47394381c4262f01b6c0c00 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 26 Jan 2002 15:28:41 +0100 Subject: The editing process now calls AssertFreeDiskSpace() --- dvbapi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dvbapi.c') diff --git a/dvbapi.c b/dvbapi.c index 5751546b..d04f97e3 100644 --- a/dvbapi.c +++ b/dvbapi.c @@ -7,7 +7,7 @@ * DVD support initially written by Andreas Schultz * based on dvdplayer-0.5 by Matjaz Thaler * - * $Id: dvbapi.c 1.144 2002/01/26 13:42:15 kls Exp $ + * $Id: dvbapi.c 1.145 2002/01/26 15:28:41 kls Exp $ */ //#define DVDDEBUG 1 @@ -2371,6 +2371,10 @@ void cCuttingBuffer::Action(void) int FileOffset, Length; uchar PictureType; + // Make sure there is enough disk space: + + AssertFreeDiskSpace(); + // Read one frame: if (fromIndex->Get(Index++, &FileNumber, &FileOffset, &PictureType, &Length)) { -- cgit v1.2.3