Commit 18f877f5 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_descriptor.c: Use playlist's fetcher to preparse the item.

parent b1bdd6a1
...@@ -157,8 +157,13 @@ static void preparse_if_needed( libvlc_media_descriptor_t *p_md ) ...@@ -157,8 +157,13 @@ static void preparse_if_needed( libvlc_media_descriptor_t *p_md )
/* XXX: need some locking here */ /* XXX: need some locking here */
if (!p_md->b_preparsed) if (!p_md->b_preparsed)
{ {
input_Preparse( p_md->p_libvlc_instance->p_libvlc_int, playlist_PreparseEnqueue(
p_md->p_libvlc_instance->p_libvlc_int->p_playlist,
p_md->p_input_item ); p_md->p_input_item );
playlist_AskForArtEnqueue(
p_md->p_libvlc_instance->p_libvlc_int->p_playlist,
p_md->p_input_item );
p_md->b_preparsed = VLC_TRUE; p_md->b_preparsed = VLC_TRUE;
} }
} }
......
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