Attach fetcher to playlist so it gets proper configuration
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 16 May 2009 16:06:46 +0000 (19:06 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 16 May 2009 16:06:46 +0000 (19:06 +0300)
src/playlist/fetcher.c

index b0bacb7..c9384b4 100644 (file)
@@ -69,6 +69,7 @@ playlist_fetcher_t *playlist_fetcher_New( playlist_t *p_playlist )
     if( !p_fetcher )
         return NULL;
 
+    vlc_object_attach( p_fetcher, p_playlist );
     p_fetcher->p_playlist = p_playlist;
     vlc_mutex_init( &p_fetcher->lock );
     vlc_cond_init( &p_fetcher->wait );