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

decoder: flush aout at end

parent 6b43a1d3
...@@ -2116,6 +2116,8 @@ static void DeleteDecoder( decoder_t * p_dec ) ...@@ -2116,6 +2116,8 @@ static void DeleteDecoder( decoder_t * p_dec )
/* Cleanup */ /* Cleanup */
if( p_owner->p_aout ) if( p_owner->p_aout )
{ {
/* TODO: REVISIT gap-less audio */
aout_DecFlush( p_owner->p_aout );
aout_DecDelete( p_owner->p_aout ); aout_DecDelete( p_owner->p_aout );
input_resource_RequestAout( p_owner->p_resource, p_owner->p_aout ); input_resource_RequestAout( p_owner->p_resource, p_owner->p_aout );
if( p_owner->p_input != NULL ) 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