MacOSX/Framework/Examples: Updatee example to properly scale video within window.
authorFaustino Osuna <riquedafreak@videolan.org>
Fri, 4 Jan 2008 15:58:32 +0000 (15:58 +0000)
committerFaustino Osuna <riquedafreak@videolan.org>
Fri, 4 Jan 2008 15:58:32 +0000 (15:58 +0000)
extras/MacOSX/Framework/Examples/test/Controller.m

index 4f88d6d..be49acd 100644 (file)
@@ -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];