Browse Source

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

Faustino Osuna 17 years ago
parent
commit
558ee891e3
1 changed files with 2 additions and 1 deletions
  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];