VLC_FALSE ) )
{
msg_Err( p_filter, "cannot create FadeToColorThread" );
- vlc_object_destroy( p_sys->p_fadethread );
+ vlc_object_release( p_sys->p_fadethread );
p_sys->p_fadethread = NULL;
vlc_mutex_unlock( &p_sys->filter_lock );
/* wait for the thread... */
vlc_thread_join(p_sys->p_fadethread);
- vlc_object_destroy(p_sys->p_fadethread);
+ vlc_object_release(p_sys->p_fadethread);
p_sys->p_fadethread = NULL;
}
vlc_thread_join(p_sys->p_fadethread);
- vlc_object_destroy(p_sys->p_fadethread);
+ vlc_object_release(p_sys->p_fadethread);
p_sys->p_fadethread = NULL;
}
vlc_mutex_unlock( &p_sys->filter_lock );
VLC_FALSE) )
{
msg_Err( p_filter, "cannot create FadeToColorThread" );
- vlc_object_destroy( p_sys->p_fadethread );
+ vlc_object_release( p_sys->p_fadethread );
p_sys->p_fadethread = NULL;
}
}