summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-26 15:28:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-26 15:28:41 +0100
commit53c5499a0b93cd1cb47394381c4262f01b6c0c00 (patch)
tree7ad88cb491cf151516d3f98beca363c2164c02d1 /dvbapi.c
parentf0a4b1c4179fc38bcf359de49367ffff69a28800 (diff)
downloadvdr-53c5499a0b93cd1cb47394381c4262f01b6c0c00.tar.gz
vdr-53c5499a0b93cd1cb47394381c4262f01b6c0c00.tar.bz2
The editing process now calls AssertFreeDiskSpace()
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c6
1 files changed, 5 insertions, 1 deletions
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 <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $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)) {