[vlc-commits] playlist: remove redundant call to input_Stop()

Rémi Denis-Courmont git at videolan.org
Fri Jun 5 21:34:07 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun  5 21:58:53 2015 +0300| [f20f1ca79c729d4cd4255bad1887460f6324acd9] | committer: Rémi Denis-Courmont

playlist: remove redundant call to input_Stop()

The input is already stopped if it has reached end or error.

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

 src/playlist/thread.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index 178c5cc..ac7b331 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -462,12 +462,6 @@ static void LoopInput( playlist_t *p_playlist )
         PL_LOCK;
         return;
     }
-    /* This input has finished, ask it to die ! */
-    else if( p_input->b_error || p_input->b_eof )
-    {
-        PL_DEBUG( "finished input" );
-        input_Stop( p_input );
-    }
 
     vlc_cond_wait( &p_sys->signal, &p_sys->lock );
 }



More information about the vlc-commits mailing list