Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
408240ed
Commit
408240ed
authored
Aug 16, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed 'video-deco' and 'embedded-video' recognition when set on the command-line
Manually back-ported from
e5d1d745
parent
39a69156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+3
-3
No files found.
modules/gui/macosx/MainWindow.m
View file @
408240ed
...
...
@@ -159,7 +159,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
BOOL
b_splitviewShouldBeHidden
=
NO
;
/* setup the styled interface */
b_video_deco
=
config_GetInt
(
VLCIntf
,
"video-deco"
);
b_video_deco
=
var_InheritBool
(
VLCIntf
,
"video-deco"
);
b_nativeFullscreenMode
=
NO
;
#ifdef MAC_OS_X_VERSION_10_7
if
(
OSX_LION
&&
b_video_deco
)
...
...
@@ -1571,7 +1571,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
id
)
setupVideoView
{
vout_thread_t
*
p_vout
=
getVout
();
if
((
config_GetInt
(
VLCIntf
,
"embedded-video"
)
||
b_nativeFullscreenMode
)
&&
b_video_deco
)
if
((
var_InheritBool
(
VLCIntf
,
"embedded-video"
)
||
b_nativeFullscreenMode
)
&&
b_video_deco
)
{
if
([
o_video_view
window
]
!=
self
)
{
...
...
@@ -2647,7 +2647,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
backing
:(
NSBackingStoreType
)
backingType
defer
:(
BOOL
)
flag
{
b_dark_interface
=
config_GetInt
(
VLCIntf
,
"macosx-interfacestyle"
);
b_video_deco
=
config_GetInt
(
VLCIntf
,
"video-deco"
);
b_video_deco
=
var_InheritBool
(
VLCIntf
,
"video-deco"
);
if
(
b_dark_interface
||
!
b_video_deco
)
{
...
...
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