Like in the mixer, do not sonsume insane amounts of cpu time.

Signed-off-by: aldot <[email protected]>
---
 src/osdsh/clockdisplay.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/osdsh/clockdisplay.c b/src/osdsh/clockdisplay.c
index 2ada45d..55c6b23 100644
--- a/src/osdsh/clockdisplay.c
+++ b/src/osdsh/clockdisplay.c
@@ -94,6 +94,7 @@ void *osdsh_clock(void *arg)
            strftime(timestring, 255, clockformat, localtime(&currenttime));
 
            xosd_display(clocksetts.myosd, 0, XOSD_string, timestring);
+           usleep(10000);
     }
     xosd_destroy(clocksetts.myosd);
     pthread_exit(0);
-- 
1.5.6.5




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to