summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-07-30 09:23:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-07-30 09:23:29 +0200
commitaf78bac2bb999f2b835048e202d2839102e175ff (patch)
tree9d34985055f7dca83701a3a24873bb82290f2b4e /dvbplayer.c
parentbef18ac382a8b073310823fc627126b5daf7f8a4 (diff)
downloadvdr-af78bac2bb999f2b835048e202d2839102e175ff.tar.gz
vdr-af78bac2bb999f2b835048e202d2839102e175ff.tar.bz2
Added a sleep in cDvbPlayer::Action() in case there is no data to send to the device
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 2d4e1e48..3082e281 100644
--- a/dvbplayer.c
+++ b/dvbplayer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbplayer.c 1.34 2005/05/22 11:26:51 kls Exp $
+ * $Id: dvbplayer.c 1.35 2005/07/30 09:20:08 kls Exp $
*/
#include "dvbplayer.h"
@@ -497,6 +497,8 @@ void cDvbPlayer::Action(void)
p = NULL;
}
}
+ else
+ Sleep = true;
}
}
active = running = false;