]> git.sesse.net Git - vlc/commitdiff
input: No need to playlist_Signal() on error now that the playlist receive state...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 13:14:50 +0000 (15:14 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 13:16:53 +0000 (15:16 +0200)
src/input/input.c

index ededd97373f83ff35c2be0d11d8c39a579dc2308..2476fe8786017e977ee6454f720efecd2a634725 100644 (file)
@@ -499,15 +499,6 @@ static int Run( input_thread_t *p_input )
         /* If we failed, wait before we are killed, and exit */
         p_input->b_error = true;
 
-        /* FIXME: we don't want to depend on the playlist */
-        playlist_t * p_playlist = vlc_object_find( p_input,
-            VLC_OBJECT_PLAYLIST, FIND_PARENT );
-        if( p_playlist )
-        {
-            playlist_Signal( p_playlist );
-            vlc_object_release( p_playlist );
-        }
-
         Error( p_input );
 
         /* Tell we're dead */