]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/deinterlace.c
vout: Rename vout_Destroy to vout_CloseAndDestroy.
[vlc] / modules / video_filter / deinterlace.c
index 919e94e62793bfc1b9f5a6152999035929643d34..da41364859ffc3226154a883450ce5f50564c80a 100644 (file)
@@ -433,7 +433,7 @@ static void End( vout_thread_t *p_vout )
     }
 
     if( p_vout->p_sys->p_vout )
-        vout_Destroy( p_vout->p_sys->p_vout );
+        vout_CloseAndRelease( p_vout->p_sys->p_vout );
 }
 
 /*****************************************************************************
@@ -2063,7 +2063,7 @@ static int FilterCallback( vlc_object_t *p_this, char const *psz_cmd,
     if( p_vout->p_sys->p_vout )
     {
         DEL_CALLBACKS( p_vout->p_sys->p_vout, SendEvents );
-        vout_Destroy( p_vout->p_sys->p_vout );
+        vout_CloseAndRelease( p_vout->p_sys->p_vout );
     }
 
     /* Try to open a new video output */