]> git.sesse.net Git - vlc/commitdiff
Unlock the playlist while waiting for input to finish so that input can freely use...
authorClément Stenac <zorglub@videolan.org>
Sat, 23 Dec 2006 14:18:49 +0000 (14:18 +0000)
committerClément Stenac <zorglub@videolan.org>
Sat, 23 Dec 2006 14:18:49 +0000 (14:18 +0000)
src/playlist/engine.c

index ebb7365e2fc8455a8666c9db70410f11f090be06..6b0f500757aabc203404ccb40da0ac537d9136b2 100644 (file)
@@ -291,7 +291,9 @@ check_input:
         else if( p_playlist->p_input->b_die )
         {
             PL_DEBUG( "dying input" );
+            PL_UNLOCK;
             msleep( 25000 ); // 25 ms
+            PL_LOCK;
             goto check_input;
         }
         /* This input has finished, ask it to die ! */