Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b2306f3f
Commit
b2306f3f
authored
May 18, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: hide the screen access module on non-supported setups
parent
c161298d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+1
-6
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+3
-2
No files found.
modules/gui/macosx/intf.h
View file @
b2306f3f
/*****************************************************************************
/*****************************************************************************
* intf.h: MacOS X interface module
* intf.h: MacOS X interface module
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002-20
09
the VideoLAN team
* Copyright (C) 2002-20
11
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
...
@@ -51,11 +51,6 @@ unsigned int CocoaKeyToVLC( unichar i_key );
...
@@ -51,11 +51,6 @@ unsigned int CocoaKeyToVLC( unichar i_key );
* the translated string. the translation should be '1:translatedstring' though */
* the translated string. the translation should be '1:translatedstring' though */
#define _ANS(s) [[[VLCMain sharedInstance] localizedString: _(s)] substringFromIndex:2]
#define _ANS(s) [[[VLCMain sharedInstance] localizedString: _(s)] substringFromIndex:2]
#define MACOS_VERSION [[[NSDictionary dictionaryWithContentsOfFile: \
@"/System/Library/CoreServices/SystemVersion.plist"] \
objectForKey: @"ProductVersion"] floatValue]
// You need to release those objects after use
// You need to release those objects after use
input_thread_t
*
getInput
(
void
);
input_thread_t
*
getInput
(
void
);
vout_thread_t
*
getVout
(
void
);
vout_thread_t
*
getVout
(
void
);
...
...
modules/gui/macosx/open.m
View file @
b2306f3f
/*****************************************************************************
/*****************************************************************************
* open.m: Open dialogues for VLC's MacOS X port
* open.m: Open dialogues for VLC's MacOS X port
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002-20
09
the VideoLAN team
* Copyright (C) 2002-20
11
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
...
@@ -221,6 +221,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -221,6 +221,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[
o_capture_mode_pop
removeAllItems
];
[
o_capture_mode_pop
removeAllItems
];
[
o_capture_mode_pop
addItemWithTitle
:
@"iSight"
];
[
o_capture_mode_pop
addItemWithTitle
:
@"iSight"
];
if
(
NSAppKitVersionNumber
<
1115
.
2
)
[
o_capture_mode_pop
addItemWithTitle
:
_NS
(
"Screen"
)];
[
o_capture_mode_pop
addItemWithTitle
:
_NS
(
"Screen"
)];
[
o_capture_mode_pop
addItemWithTitle
:
@"EyeTV"
];
[
o_capture_mode_pop
addItemWithTitle
:
@"EyeTV"
];
[
o_screen_lbl
setStringValue
:
_NS
(
"Screen Capture Input"
)];
[
o_screen_lbl
setStringValue
:
_NS
(
"Screen Capture Input"
)];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment