Missing vlc_object_attach
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 28 Jan 2010 19:29:30 +0000 (21:29 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 28 Jan 2010 19:29:30 +0000 (21:29 +0200)
src/input/input.c
src/playlist/fetcher.c

index 73b6e83..39dfd10 100644 (file)
@@ -2808,6 +2808,7 @@ static void InputSourceMeta( input_thread_t *p_input,
                            VLC_OBJECT_GENERIC, "demux meta" );
     if( !p_demux_meta )
         return;
+    vlc_object_attach( p_demux_meta, p_demux );
     p_demux_meta->p_demux = p_demux;
     p_demux_meta->p_item = p_input->p->p_item;
 
index f227a41..de85c8b 100644 (file)
@@ -338,6 +338,7 @@ static void FetchMeta( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
     if( !p_demux_meta )
         return;
 
+    vlc_object_attach( p_demux_meta, p_fetcher->p_playlist );
     p_demux_meta->p_demux = NULL;
     p_demux_meta->p_item = p_item;