Skip to content
Snippets Groups Projects
Commit 767cf119 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: remove callback in VLCVoutView correctly. Fixes #5428

parent de2ff972
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,13 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)closeVout
{
vout_thread_t * p_vout = getVout();
if( !p_vout )
{
var_DelCallback( p_vout, "video-device", DeviceCallback, NULL );
vlc_object_release( p_vout );
}
/* Make sure we don't see a white flash */
[o_view removeFromSuperview];
[o_view release];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment