Explorar o código

MacOSX/Framework/Examples: Updatee example to properly scale video within window.

Faustino Osuna %!s(int64=17) %!d(string=hai) anos
pai
achega
558ee891e3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Examples/test/Controller.m

+ 2 - 1
Examples/test/Controller.m

@@ -20,7 +20,8 @@ static void *sleepForMe(void)
     videoView = [[VLCVideoView alloc] initWithFrame:rect];
     [videoHolderView addSubview:videoView];
     [videoView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable];
-
+    videoView.fillScreen = YES;
+    
     playlist = [[VLCMediaList alloc] init];
     [playlist addObserver:self forKeyPath:@"media" options:NSKeyValueObservingOptionNew context:nil];