]> git.sesse.net Git - vlc/commitdiff
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 4f88d6d22a79dca16c227889b5ee72d7a25bdf2c..be49acdbabb272b1e2290c7ac97eb29a38c75ed5 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];