summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-11 11:15:41 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-11 11:15:41 +0200
commit8e99289b55d9cce58e46c31c88a18826aa53b8d5 (patch)
tree956add0d1d9fcdda4e733aca12aaa2821cff942e /dvbapi.c
parent627916d32a363913f34b255b0a5dc0e89ffe9408 (diff)
downloadvdr-8e99289b55d9cce58e46c31c88a18826aa53b8d5.tar.gz
vdr-8e99289b55d9cce58e46c31c88a18826aa53b8d5.tar.bz2
Implemented SpinUpDisk()
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 744eaf41..7f728b61 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.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);