diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-30 11:31:43 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-30 11:31:43 +0200 |
commit | cc761811cea8da5f94957fb30e24afb020fb740e (patch) | |
tree | 802602da3f60ee64f0916d4a2b63a2c543ecff47 /dvbapi.c | |
parent | a0d04288c6cf76294772ec000a90f423dab3edbe (diff) | |
download | vdr-cc761811cea8da5f94957fb30e24afb020fb740e.tar.gz vdr-cc761811cea8da5f94957fb30e24afb020fb740e.tar.bz2 |
New setup parameter SplitEditedFiles
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 8 |
1 files changed, 7 insertions, 1 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.129 2001/09/23 13:44:27 kls Exp $ + * $Id: dvbapi.c 1.130 2001/09/30 11:28:58 kls Exp $ */ //#define DVDDEBUG 1 @@ -2392,6 +2392,12 @@ void cCuttingBuffer::Action(void) Index = Mark->position; Mark = fromMarks.Next(Mark); CurrentFileNumber = 0; // triggers SetOffset before reading next frame + if (Setup.SplitEditedFiles) { + toFile = toFileName->NextFile(); + if (toFile < 0) + break; + FileSize = 0; + } } // the 'else' case (i.e. 'final end mark reached') is handled above // in 'Write one frame', so that the edited version will end right |