Commit ea56bc58 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCVideoView.m: Fix a potential segfault.

parent 70faa526
......@@ -177,7 +177,7 @@ NSString * VLCVideoViewLeftFullScreen = @"VLCVideoViewLeftFullScreen";
[self setStretchesVideo:NO];
[self setAutoresizesSubviews:YES];
[self setFillScreen: NO];
layoutManager = [VLCConstraintLayoutManager layoutManager];
layoutManager = [[VLCConstraintLayoutManager layoutManager] retain];
}
return self;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment