[vlc-devel] commit: Attach fetcher to playlist so it gets proper configuration ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat May 16 18:08:32 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sat May 16 19:06:46 2009 +0300| [ae1239f0851fd5e021889118a3c01cd8371750d5] | committer: Rémi Denis-Courmont 

Attach fetcher to playlist so it gets proper configuration

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

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

diff --git a/src/playlist/fetcher.c b/src/playlist/fetcher.c
index b0bacb7..c9384b4 100644
--- a/src/playlist/fetcher.c
+++ b/src/playlist/fetcher.c
@@ -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 );




More information about the vlc-devel mailing list