]> git.sesse.net Git - vlc/commitdiff
video_output: Forgotten Close.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 22 Jul 2008 23:39:14 +0000 (01:39 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 22 Jul 2008 23:39:14 +0000 (01:39 +0200)
src/video_output/video_output.c

index bd22a4d3c4eef4a2fd891c8910be5716ad5ba651..9c44cd66399d33d1272688cc87dba191d41648c8 100644 (file)
@@ -179,7 +179,7 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
             p_vout->b_filter_change )
         {
             /* We are not interested in this format, close this vout */
-            vlc_object_release( p_vout );
+            vout_CloseAndRelease( p_vout );
             vlc_object_release( p_vout );
             p_vout = NULL;
         }