[vlc-devel] commit: Revert "Increased VOUT_IDLE_SLEEP as a proper wait/lock is used." ( Laurent Aimar )

git version control git at videolan.org
Tue Nov 11 21:50:12 CET 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Nov 11 21:49:05 2008 +0100| [6a0b7bb7097e0851f38cc9f6c2b2062c0fd14e8c] | committer: Laurent Aimar 

Revert "Increased VOUT_IDLE_SLEEP as a proper wait/lock is used."

This reverts commit 4332c070f6eba9288f349ac378392b219a3d7629.

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a0b7bb7097e0851f38cc9f6c2b2062c0fd14e8c
---

 src/video_output/video_output.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index d787f5b..8c58747 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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




More information about the vlc-devel mailing list