Bläddra i källkod

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

Faustino Osuna 17 år sedan
förälder
incheckning
558ee891e3
1 ändrade filer med 2 tillägg och 1 borttagningar
  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];