[vlc-devel] commit: vlckit: Fix a warning. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Aug 16 20:43:22 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Aug 16 19:27:15 2008 +0200| [2c015485eac702f541727dd7a216227e63ae194e] | committer: Pierre d'Herbemont 

vlckit: Fix a warning.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c015485eac702f541727dd7a216227e63ae194e
---

 projects/macosx/framework/Sources/VLCVideoView.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCVideoView.m b/projects/macosx/framework/Sources/VLCVideoView.m
index da94d99..3c23b9b 100644
--- a/projects/macosx/framework/Sources/VLCVideoView.m
+++ b/projects/macosx/framework/Sources/VLCVideoView.m
@@ -153,7 +153,7 @@
     [layoutManager setOriginalVideoSize:aLayer.bounds.size];
     [rootLayer setLayoutManager:layoutManager];
     [rootLayer insertSublayer:aLayer atIndex:0];
-    [self setNeedsDisplayOnBoundsChange:YES];
+    [aLayer setNeedsDisplayOnBoundsChange:YES];
 
     [CATransaction commit];
     self.hasVideo = YES;




More information about the vlc-devel mailing list