Commit 511a8150 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

preparser: Always trigger an event when the preparse is skipped

Previously we wouldn't trigger an event for an already preparsed media,
causing either a deadlock for libvlc_media_parse(), or undefined
behavior for libvlc user code
parent 462d2a69
......@@ -284,7 +284,7 @@ static void Preparse( playlist_preparser_t *preparser,
input_item_SetPreparsed( p_item, true );
input_item_SignalPreparseEnded( p_item, status );
else if (!b_preparse)
input_item_SignalPreparseEnded( p_item, ITEM_PREPARSE_SKIPPED );
Supports Markdown
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