Changeset 5e0c0bbd7b23d538b5d1d5ea5c9c89adee3a92b8
- Timestamp:
- 01/09/07 13:57:33
(1 year ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1188647853 +0000
- git-parent:
[c08be60a2fdbcd093e4f6920737f6b12e61d7888]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1188647853 +0000
- Message:
* set svn:keywords correctly and fixed some minor stuff here and there
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8d7e530 |
r5e0c0bb |
|
| 2 | 2 | * VLCMinimalVoutWindow.h: MacOS X Minimal window for a vout |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| r8d7e530 |
r5e0c0bb |
|
| 2 | 2 | * VLCMinimalVoutWindow.m: MacOS X Minimal interface window |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| r437d815 |
r5e0c0bb |
|
| 2 | 2 | * VLCOpenGLVoutView.h: MacOS X OpenGL provider |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2001-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| r8d7e530 |
r5e0c0bb |
|
| 2 | 2 | * VLCOpenGLVoutView.m: MacOS X OpenGL provider |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2001-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| … | … | |
| 12 | 12 | * Benjamin Pracht <bigben at videolan dot org> |
|---|
| 13 | 13 | * Damien Fouilleul <damienf at videolan dot org> |
|---|
| 14 | | * Pierr d'Herbemont <pdherbemont at videolan dot org> |
|---|
| | 14 | * Pierre d'Herbemont <pdherbemont at videolan dot org> |
|---|
| 15 | 15 | * |
|---|
| 16 | 16 | * This program is free software; you can redistribute it and/or modify |
|---|
| r8d7e530 |
r5e0c0bb |
|
| 2 | 2 | * intf.h: MacOS X interface module |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2002-2006 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2002-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| … | … | |
| 37 | 37 | * Local prototypes. |
|---|
| 38 | 38 | *****************************************************************************/ |
|---|
| 39 | | |
|---|
| 40 | | /* switch this to 1, if you want to use Obj-C with GC */ |
|---|
| 41 | | #define GC_ENABLED 0 |
|---|
| 42 | 39 | |
|---|
| 43 | 40 | /***************************************************************************** |
|---|
| r2d1afcc |
r5e0c0bb |
|
| 1 | 1 | /***************************************************************************** |
|---|
| 2 | | * macosx.m: Mac OS X module for vlc |
|---|
| | 2 | * macosx.m: minimal Mac OS X module for vlc |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2006 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2001-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| … | … | |
| 49 | 49 | /* Minimal interface. see intf.m */ |
|---|
| 50 | 50 | set_shortname( _( "minimal_macosx" )); |
|---|
| 51 | | set_description( _("Mac OS X minimal interface") ); |
|---|
| | 51 | set_description( _("Minimal Mac OS X interface") ); |
|---|
| 52 | 52 | set_capability( "interface", 50 ); |
|---|
| 53 | 53 | set_callbacks( E_(OpenIntf), E_(CloseIntf) ); |
|---|
| … | … | |
| 57 | 57 | add_submodule(); |
|---|
| 58 | 58 | /* Will be loaded even without interface module. see voutgl.m */ |
|---|
| 59 | | set_description( "Mac OS X minimal OpenGL video output (opens a borderless window)" ); |
|---|
| | 59 | set_description( _("Minimal Mac OS X OpenGL video output (opens a borderless window)") ); |
|---|
| 60 | 60 | set_capability( "opengl provider", 50 ); |
|---|
| 61 | 61 | set_category( CAT_VIDEO); |
|---|
| r437d815 |
r5e0c0bb |
|
| 2 | 2 | * voutagl.c: MacOS X agl OpenGL provider (used by webbrowser.plugin) |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2001-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| … | … | |
| 67 | 67 | if( NULL == pixFormat ) |
|---|
| 68 | 68 | { |
|---|
| 69 | | msg_Err( p_vout, "no screen renderer available for required attributes." ); |
|---|
| | 69 | msg_Err( p_vout, "No screen renderer available for required attributes." ); |
|---|
| 70 | 70 | return VLC_EGENERIC; |
|---|
| 71 | 71 | } |
|---|
| … | … | |
| 75 | 75 | if( NULL == p_vout->p_sys->agl_ctx ) |
|---|
| 76 | 76 | { |
|---|
| 77 | | msg_Err( p_vout, "cannot create AGL context." ); |
|---|
| | 77 | msg_Err( p_vout, "Cannot create AGL context." ); |
|---|
| 78 | 78 | return VLC_EGENERIC; |
|---|
| 79 | 79 | } |
|---|
| r437d815 |
r5e0c0bb |
|
| 2 | 2 | * voutgl.h: MacOS X OpenGL provider |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2006 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2001-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| r437d815 |
r5e0c0bb |
|
| 2 | 2 | * voutgl.m: MacOS X OpenGL provider |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2001-2007 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| … | … | |
| 41 | 41 | if( !CGDisplayUsesOpenGLAcceleration( kCGDirectMainDisplay ) ) |
|---|
| 42 | 42 | { |
|---|
| 43 | | msg_Warn( p_vout, "no OpenGL hardware acceleration found. " |
|---|
| | 43 | msg_Warn( p_vout, "No OpenGL hardware acceleration found. " |
|---|
| 44 | 44 | "Video display will be slow" ); |
|---|
| 45 | 45 | return( 1 ); |
|---|