1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-16 16:02:54 +02:00

goom: use vout_Close() directly

This commit is contained in:
Rémi Denis-Courmont 2019-01-18 23:09:07 +02:00
parent 5a46546292
commit 826dce64de

View File

@ -148,7 +148,7 @@ static int Open( vlc_object_t *p_this )
msg_Err( p_filter, "cannot launch goom thread" );
vlc_mutex_destroy( &p_thread->lock );
vlc_cond_destroy( &p_thread->wait );
aout_filter_PutVout( p_filter, p_thread->p_vout );
vout_Close( p_thread->p_vout );
free( p_thread );
return VLC_EGENERIC;
}
@ -344,7 +344,7 @@ static void Close( vlc_object_t *p_this )
vlc_join( p_thread->thread, NULL );
/* Free data */
aout_filter_PutVout( p_filter, p_thread->p_vout );
vout_Close( p_thread->p_vout );
vlc_mutex_destroy( &p_thread->lock );
vlc_cond_destroy( &p_thread->wait );