Commit f37171e5 authored by Thomas Guillem's avatar Thomas Guillem

lib: media: fix media not being preparsed after a failure

After a failure (like when browsing a smb folder with credential), it was
impossible to preparse the same media again.
parent 1a9efd5c
......@@ -282,7 +282,7 @@ static void send_parsed_changed( libvlc_media_t *p_md,
p_md->parsed_status = new_status;
if( p_md->parsed_status == libvlc_media_parsed_status_skipped )
if( p_md->parsed_status != libvlc_media_parsed_status_done )
p_md->has_asked_preparse = false;
vlc_mutex_unlock( &p_md->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