From 231a36af4f787ee52033de936b8e7d2ed4f06732 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 1 Jun 2008 00:21:29 +0200 Subject: [PATCH] Revert "Preparser: yield the playlist (NSDRCID 1)" This reverts commit f3b97438a7451c340b27446d687c6c5603a8323a. It creates a circular reference holding. (playlist is the parent of the preparser and hold a reference to the preparser during all the preparser life's span). --- src/playlist/engine.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/playlist/engine.c b/src/playlist/engine.c index 626db4b307..b8731e6d77 100644 --- a/src/playlist/engine.c +++ b/src/playlist/engine.c @@ -479,7 +479,7 @@ void playlist_LastLoop( playlist_t *p_playlist ) */ void playlist_PreparseLoop( playlist_preparse_t *p_obj ) { - playlist_t *p_playlist = pl_Yield( p_obj ); + playlist_t *p_playlist = (playlist_t *)p_obj->p_parent; input_item_t *p_current; int i_activity; @@ -557,7 +557,6 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj ) vlc_object_lock( p_obj ); } vlc_object_unlock( p_obj ); - pl_Release( p_obj ); } /** -- 2.11.4.GIT