]> git.sesse.net Git - vlc/commitdiff
goom: fix error path
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 25 Apr 2013 15:45:41 +0000 (18:45 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 25 Apr 2013 15:48:02 +0000 (18:48 +0300)
modules/visualization/goom.c

index 18f8bac92d671b9615e9b671cd056e48be2d2308..b2496d3411e7c7b9eeccef82fd3415538a01912e 100644 (file)
@@ -160,9 +160,9 @@ static int Open( vlc_object_t *p_this )
                    Thread, p_thread, VLC_THREAD_PRIORITY_LOW ) )
     {
         msg_Err( p_filter, "cannot lauch goom thread" );
-        vlc_object_release( p_thread->p_vout );
         vlc_mutex_destroy( &p_thread->lock );
         vlc_cond_destroy( &p_thread->wait );
+        aout_filter_RequestVout( p_filter, p_thread->p_vout, NULL );
         free( p_thread );
         free( p_sys );
         return VLC_EGENERIC;