diff options
author | Daniel Mack <zonque@users.sourceforge.net> | 2004-06-25 16:14:20 +0000 |
---|---|---|
committer | Daniel Mack <zonque@users.sourceforge.net> | 2004-06-25 16:14:20 +0000 |
commit | a98eadf09de9e3f7774f54bb98793d10c8c2db58 (patch) | |
tree | 7db6aec4fad5e1c63ce151ddfa36f2506593a521 /src/video_out/macosx/video_window.h | |
parent | 4ff245bce986904355056ab93a2bd7554bfeae37 (diff) | |
download | xine-lib-a98eadf09de9e3f7774f54bb98793d10c8c2db58.tar.gz xine-lib-a98eadf09de9e3f7774f54bb98793d10c8c2db58.tar.bz2 |
- trying to fix the kernel panics by wrapping some functions with a mutex.
maybe that helps.
- some indentation fixes
CVS patchset: 6745
CVS date: 2004/06/25 16:14:20
Diffstat (limited to 'src/video_out/macosx/video_window.h')
-rw-r--r-- | src/video_out/macosx/video_window.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_out/macosx/video_window.h b/src/video_out/macosx/video_window.h index 44b157f00..b6b79a75d 100644 --- a/src/video_out/macosx/video_window.h +++ b/src/video_out/macosx/video_window.h @@ -22,8 +22,6 @@ #ifndef HAVE_VIDEO_WINDOW_H #define HAVE_VIDEO_WINDOW_H -#import <Cocoa/Cocoa.h> - typedef enum { XINE_FULLSCREEN_OVERSCAN, XINE_FULLSCREEN_CROP @@ -33,13 +31,14 @@ typedef enum { @interface XineOpenGLView : NSOpenGLView { IBOutlet id delegate; int video_width, video_height; - char * texture_buffer; + char *texture_buffer; unsigned long i_texture; BOOL initDone; BOOL isFullScreen; XineVideoWindowFullScreenMode fullscreen_mode; - NSOpenGLContext * fullScreenContext; - NSOpenGLContext * currentContext; + NSOpenGLContext *fullScreenContext; + NSOpenGLContext *currentContext; + NSLock *mutex; } - (void) displayTexture; |