diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-08-11 11:15:41 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-08-11 11:15:41 +0200 |
commit | 8e99289b55d9cce58e46c31c88a18826aa53b8d5 (patch) | |
tree | 956add0d1d9fcdda4e733aca12aaa2821cff942e /dvbapi.c | |
parent | 627916d32a363913f34b255b0a5dc0e89ffe9408 (diff) | |
download | vdr-8e99289b55d9cce58e46c31c88a18826aa53b8d5.tar.gz vdr-8e99289b55d9cce58e46c31c88a18826aa53b8d5.tar.bz2 |
Implemented SpinUpDisk()
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 6 |
1 files changed, 5 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.103 2001/08/10 14:54:21 kls Exp $ + * $Id: dvbapi.c 1.104 2001/08/11 10:17:26 kls Exp $ */ //#define DVDDEBUG 1 @@ -3269,6 +3269,10 @@ bool cDvbApi::StartRecord(const char *FileName, int Ca, int Priority) if (!MakeDirs(FileName, true)) return false; + // Make sure the disk is up and running: + + SpinUpDisk(FileName); + // Create recording buffer: recordBuffer = new cRecordBuffer(this, FileName, vPid, aPid1, aPid2, dPid1, dPid2); |