summaryrefslogtreecommitdiff
path: root/src/video_out/macosx/video_window.h
diff options
context:
space:
mode:
authorAndre Pang <athp@users.sourceforge.net>2004-07-05 01:20:01 +0000
committerAndre Pang <athp@users.sourceforge.net>2004-07-05 01:20:01 +0000
commit0a560b285ff7d692d6c01f9ef4d89bb16665ccfd (patch)
treef11c4afd4dc9567412bb3c9e0eff667e89329c31 /src/video_out/macosx/video_window.h
parent60dbade90322843bc74f85596f6071cc5c2f6646 (diff)
downloadxine-lib-0a560b285ff7d692d6c01f9ef4d89bb16665ccfd.tar.gz
xine-lib-0a560b285ff7d692d6c01f9ef4d89bb16665ccfd.tar.bz2
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
Diffstat (limited to 'src/video_out/macosx/video_window.h')
-rw-r--r--src/video_out/macosx/video_window.h6
1 files changed, 6 insertions, 0 deletions
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;