]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Sources/VLCVideoCommon.m
Fix a memory leak.
[vlc] / projects / macosx / framework / Sources / VLCVideoCommon.m
index e3fb8d1fd204005986bf7fbfe2868dd2ee8cafdd..a17a9130c36bf3773ba6632aa42a6309426bfebe 100644 (file)
@@ -1,9 +1,9 @@
 /*****************************************************************************
- * VLCVideoCommon.m: VLC.framework VLCVideoCommon implementation
+ * VLCVideoCommon.m: VLCKit.framework VLCVideoCommon implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team
- * $Id: VLCVideoCommon.m 23915 2007-12-28 22:20:19Z pdherbemont $
+ * $Id$
  *
  * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
  *
  */
 
 @implementation VLCVideoLayoutManager 
-@synthesize  fillScreenEntirely;
-@synthesize  originalVideoSize;
 
+/* Factories */
 + (id)layoutManager
 {
     return [[[self alloc] init] autorelease];
 }
 
+/* CALayoutManager Impelmentation */
 - (void)layoutSublayersOfLayer:(CALayer *)layer
 {
     /* After having done everything normally resize the vlcopengllayer */
@@ -60,4 +60,8 @@
         videolayer.frame = videoRect;
     }
 }
+
+/* Properties */
+@synthesize fillScreenEntirely;
+@synthesize originalVideoSize;
 @end