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

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


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Nov 11 19:40:07 2008 +0100| [4332c070f6eba9288f349ac378392b219a3d7629] | committer: Laurent Aimar 

Increased VOUT_IDLE_SLEEP as a proper wait/lock is used.

 It is still needed as filter change need to be checked and do not use
this wait/lock (they are about picture fifo).

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

 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 8c58747..d787f5b 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.020*CLOCK_FREQ))
+#define VOUT_IDLE_SLEEP                 ((int)(0.200*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