Revert "Increased VOUT_IDLE_SLEEP as a proper wait/lock is used."
authorLaurent Aimar <fenrir@videolan.org>
Tue, 11 Nov 2008 20:49:05 +0000 (21:49 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 11 Nov 2008 20:49:05 +0000 (21:49 +0100)
This reverts commit 4332c070f6eba9288f349ac378392b219a3d7629.

A higher value creates problem with OSD. This will need more
thinking.

src/video_output/video_output.c

index d787f5b..8c58747 100644 (file)
@@ -94,7 +94,7 @@ static void DisplayTitleOnOSD( vout_thread_t *p_vout );
 
 /* Time during which the thread will sleep if it has nothing to
  * display (in micro-seconds) */
-#define VOUT_IDLE_SLEEP                 ((int)(0.200*CLOCK_FREQ))
+#define VOUT_IDLE_SLEEP                 ((int)(0.020*CLOCK_FREQ))
 
 /* Maximum lap of time allowed between the beginning of rendering and
  * display. If, compared to the current date, the next image is too