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

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

parent 30b431ea
...@@ -177,7 +177,7 @@ NSString * VLCVideoViewLeftFullScreen = @"VLCVideoViewLeftFullScreen"; ...@@ -177,7 +177,7 @@ NSString * VLCVideoViewLeftFullScreen = @"VLCVideoViewLeftFullScreen";
[self setStretchesVideo:NO]; [self setStretchesVideo:NO];
[self setAutoresizesSubviews:YES]; [self setAutoresizesSubviews:YES];
[self setFillScreen: NO]; [self setFillScreen: NO];
layoutManager = [VLCConstraintLayoutManager layoutManager]; layoutManager = [[VLCConstraintLayoutManager layoutManager] retain];
} }
return self; 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