summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/video_view.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa/video_view.m')
-rw-r--r--video/out/cocoa/video_view.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/cocoa/video_view.m b/video/out/cocoa/video_view.m
index 786c6ef4da..cb09dc8b9f 100644
--- a/video/out/cocoa/video_view.m
+++ b/video/out/cocoa/video_view.m
@@ -22,7 +22,8 @@
@implementation MpvVideoView
@synthesize adapter = _adapter;
-- (id)initWithFrame:(NSRect)frame {
+- (id)initWithFrame:(NSRect)frame
+{
self = [super initWithFrame:frame];
if (self) {
[self setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];