[vlc-devel] commit: input: No need to playlist_Signal() on error now that the playlist receive state changed events. (Pierre d' Herbemont )

git version control git at videolan.org
Sat Jun 14 15:17:00 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 15:14:50 2008 +0200| [c2bb7bf0d94e2fd931c531db15ee849482cfd3e6]

input: No need to playlist_Signal() on error now that the playlist receive state changed events.

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

 src/input/input.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index ededd97..2476fe8 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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 */




More information about the vlc-devel mailing list