Commit ae1239f0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Attach fetcher to playlist so it gets proper configuration

parent 06c794f9
...@@ -69,6 +69,7 @@ playlist_fetcher_t *playlist_fetcher_New( playlist_t *p_playlist ) ...@@ -69,6 +69,7 @@ playlist_fetcher_t *playlist_fetcher_New( playlist_t *p_playlist )
if( !p_fetcher ) if( !p_fetcher )
return NULL; return NULL;
vlc_object_attach( p_fetcher, p_playlist );
p_fetcher->p_playlist = p_playlist; p_fetcher->p_playlist = p_playlist;
vlc_mutex_init( &p_fetcher->lock ); vlc_mutex_init( &p_fetcher->lock );
vlc_cond_init( &p_fetcher->wait ); vlc_cond_init( &p_fetcher->wait );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment