summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-22 11:29:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-22 11:29:19 +0200
commita05590796ad98d994eca1b24c69d164d05e34f60 (patch)
tree31bbde818cb3f2571f5503d1fa34c5ac55119841 /recording.c
parent6b258329131696df045e333886a163d820f2115b (diff)
downloadvdr-a05590796ad98d994eca1b24c69d164d05e34f60.tar.gz
vdr-a05590796ad98d994eca1b24c69d164d05e34f60.tar.bz2
Fixed a possible hangup when ending a replay session while cIndexFile::CatchUp() is waiting
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index 347962bf..0e899a3d 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.102 2005/05/22 10:43:10 kls Exp $
+ * $Id: recording.c 1.103 2005/05/22 11:27:28 kls Exp $
*/
#include "recording.h"
@@ -1043,7 +1043,7 @@ bool cIndexFile::CatchUp(int Index)
LOG_ERROR_STR(fileName);
if (Index < last - (i ? 2 * INDEXSAFETYLIMIT : 0) || Index > 10 * INDEXSAFETYLIMIT) // keep off the end in case of "Pause live video"
break;
- sleep(1);
+ cCondWait::SleepMs(1000);
}
}
return index != NULL;