Commit e6b5741b authored by Thomas Guillem's avatar Thomas Guillem

decoder: fix re-used vout being in a canceled state

Fixes #18105
parent 9951257c
......@@ -1754,7 +1754,10 @@ static void DeleteDecoder( decoder_t * p_dec )
}
if( p_owner->p_vout )
{
/* */
/* Reset the cancel state that was set before joining the decoder
* thread */
vout_Cancel( p_owner->p_vout, false );
input_resource_RequestVout( p_owner->p_resource, p_owner->p_vout, NULL,
0, true );
if( p_owner->p_input != NULL )
......
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