]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/magnify.c
vout: Rename vout_Destroy to vout_CloseAndDestroy.
[vlc] / modules / video_filter / magnify.c
index a314050b73e804e434ae8eec9baf19d9424e0c6e..9d9d8a08ab82660681fb722a94309be068557b2f 100644 (file)
@@ -201,7 +201,7 @@ static void End( vout_thread_t *p_vout )
     var_DelCallback( p_vout->p_sys->p_vout, "mouse-y", MouseEvent, p_vout);
     var_DelCallback( p_vout->p_sys->p_vout, "mouse-clicked", MouseEvent, p_vout);
 
-    vout_Destroy( p_vout->p_sys->p_vout );
+    vout_CloseAndRelease( p_vout->p_sys->p_vout );
 }
 
 /*****************************************************************************