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

Fix logic

parent fb4754ad
......@@ -632,7 +632,7 @@ libvlc_media_parse_async(libvlc_media_t *media)
bool needed;
vlc_mutex_lock(&media->parsed_lock);
needed = media->has_asked_preparse;
needed = !media->has_asked_preparse;
media->has_asked_preparse = true;
vlc_mutex_unlock(&media->parsed_lock);
......
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