No need to sleep 25 ms, a bit longer will do fine too.
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 6 Dec 2007 17:56:28 +0000 (17:56 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 6 Dec 2007 17:56:28 +0000 (17:56 +0000)
src/playlist/engine.c

index 92d7aaf..809f458 100644 (file)
@@ -287,7 +287,7 @@ check_input:
         {
             PL_DEBUG( "dying input" );
             PL_UNLOCK;
-            msleep( 25000 ); /* 25 ms */
+            msleep( INTF_IDLE_SLEEP );
             PL_LOCK;
             goto check_input;
         }