Commit cbf0750a authored by Jean-Paul Saman's avatar Jean-Paul Saman

Put filter count to zero after releasing all audio filters.

parent 920692ff
......@@ -1513,6 +1513,8 @@ static void transcode_audio_close( sout_stream_id_t *id )
module_Unneed( id->pp_filter[i], id->pp_filter[i]->p_module );
vlc_object_release( id->pp_filter[i] );
}
id->i_filter = 0;
for( i = 0; i < id->i_ufilter; i++ )
{
vlc_object_detach( id->pp_ufilter[i] );
......@@ -1520,6 +1522,7 @@ static void transcode_audio_close( sout_stream_id_t *id )
module_Unneed( id->pp_ufilter[i], id->pp_ufilter[i]->p_module );
vlc_object_release( id->pp_ufilter[i] );
}
id->i_ufilter = 0;
}
static int transcode_audio_process( sout_stream_t *p_stream,
......
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