[vlc-devel] commit: Fix compilation: too short delay. ( Rémi Duraffort )

git version control git at videolan.org
Tue Aug 25 20:23:42 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Aug 25 20:23:27 2009 +0200| [e8b65bdcadd4a132e3d9636753970571f8c56f7d] | committer: Rémi Duraffort 

Fix compilation: too short delay.

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

 modules/access/vcdx/vcdplayer.c    |    2 +-
 modules/misc/notify/notify.c       |    2 +-
 modules/visualization/projectm.cpp |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/vcdx/vcdplayer.c b/modules/access/vcdx/vcdplayer.c
index 8efe2ae..317e9bd 100644
--- a/modules/access/vcdx/vcdplayer.c
+++ b/modules/access/vcdx/vcdplayer.c
@@ -550,7 +550,7 @@ vcdplayer_pbc_nav ( access_t * p_access, uint8_t *wait_time )
           return READ_BLOCK;
         } else if (p_vcdplayer->i_still) {
           /* Hack: Just go back and do still again */
-          msleep(1000);
+          msleep(10000);
           return READ_STILL_FRAME;
         }
       }
diff --git a/modules/misc/notify/notify.c b/modules/misc/notify/notify.c
index 4ed866a..1bbcc20 100644
--- a/modules/misc/notify/notify.c
+++ b/modules/misc/notify/notify.c
@@ -176,7 +176,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
 
     /* Wait a tad so the meta has been fetched
      * FIXME that's awfully wrong */
-    msleep( 1000*4 );
+    msleep( 10000 );
 
     /* Playing something ... */
     input_item_t *p_input_item = input_GetItem( p_input );
diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 21e0c70..2af13a8 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -318,7 +318,7 @@ static void* Thread( vlc_object_t *p_this )
         vlc_mutex_unlock( &p_thread->lock );
 
         /* TODO: use a fps limiter */
-        msleep( 1000 );
+        msleep( 10000 );
     }
 
 




More information about the vlc-devel mailing list