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

Missing vlc_object_attach

parent 73b64879
...@@ -2808,6 +2808,7 @@ static void InputSourceMeta( input_thread_t *p_input, ...@@ -2808,6 +2808,7 @@ static void InputSourceMeta( input_thread_t *p_input,
VLC_OBJECT_GENERIC, "demux meta" ); VLC_OBJECT_GENERIC, "demux meta" );
if( !p_demux_meta ) if( !p_demux_meta )
return; return;
vlc_object_attach( p_demux_meta, p_demux );
p_demux_meta->p_demux = p_demux; p_demux_meta->p_demux = p_demux;
p_demux_meta->p_item = p_input->p->p_item; p_demux_meta->p_item = p_input->p->p_item;
......
...@@ -338,6 +338,7 @@ static void FetchMeta( playlist_fetcher_t *p_fetcher, input_item_t *p_item ) ...@@ -338,6 +338,7 @@ static void FetchMeta( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
if( !p_demux_meta ) if( !p_demux_meta )
return; return;
vlc_object_attach( p_demux_meta, p_fetcher->p_playlist );
p_demux_meta->p_demux = NULL; p_demux_meta->p_demux = NULL;
p_demux_meta->p_item = p_item; p_demux_meta->p_item = p_item;
......
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