From 0a560b285ff7d692d6c01f9ef4d89bb16665ccfd Mon Sep 17 00:00:00 2001 From: Andre Pang Date: Mon, 5 Jul 2004 01:20:01 +0000 Subject: Mac OS X: Added keepsVideoAspectRatio and resizeViewToVideoSizeOnLoad attributes to XineOpenGLView class More accurate OpenGL mutex locking (we need to serialise any accesses to the OpenGL context): this fixed a few more kernel panics for me Changed any human-readable strings of "MacOSX" to "Mac OS X" (so maybe Apple can award xine a Design Award next year with less qualms ;) CVS patchset: 6770 CVS date: 2004/07/05 01:20:01 --- src/video_out/macosx/video_window.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/video_out/macosx/video_window.h') diff --git a/src/video_out/macosx/video_window.h b/src/video_out/macosx/video_window.h index f9217f56e..e0f199305 100644 --- a/src/video_out/macosx/video_window.h +++ b/src/video_out/macosx/video_window.h @@ -40,6 +40,8 @@ typedef enum { NSOpenGLContext *fullScreenContext; NSOpenGLContext *currentContext; NSLock *mutex; + BOOL keepsVideoAspectRatio; + BOOL resizeViewToVideoSizeOnLoad; } - (void) displayTexture; @@ -58,6 +60,10 @@ typedef enum { - (void) setHalfSize; - (void) setDoubleSize; - (NSSize) videoSize; +- (void) setKeepsVideoAspectRatio:(BOOL)flag; +- (BOOL) keepsVideoAspectRatio; +- (void) setResizeViewToVideoSizeOnLoad:(BOOL)flag; +- (BOOL) resizeViewToVideoSizeOnLoad; /* Delegate methods */ - (id) delegate; -- cgit v1.2.3