[vlc-commits] goom: use vout_Close() directly

Rémi Denis-Courmont git at videolan.org
Fri Jan 18 22:13:08 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 18 23:09:07 2019 +0200| [826dce64de5b88411764203f12f75fbd2ec56007] | committer: Rémi Denis-Courmont

goom: use vout_Close() directly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=826dce64de5b88411764203f12f75fbd2ec56007
---

 modules/visualization/goom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/visualization/goom.c b/modules/visualization/goom.c
index 2bb042633b..8dfa953919 100644
--- a/modules/visualization/goom.c
+++ b/modules/visualization/goom.c
@@ -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 );
 



More information about the vlc-commits mailing list