Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1efd95b7
Commit
1efd95b7
authored
Oct 12, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport [17046]
parent
b0e3f34f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+4
-5
No files found.
modules/gui/macosx/vout.m
View file @
1efd95b7
...
...
@@ -692,7 +692,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
else
{
if
(
VLCIntf
&&
!
(
p_vout
->
b_fullscreen
)
&&
!
(
var_GetBool
(
p_
real_
vout
,
"macosx-background"
))
&&
!
(
var_GetBool
(
p_vout
,
"macosx-background"
))
&&
var_GetBool
(
p_vout
,
"macosx-embedded"
)
)
{
o_return
=
[[[
VLCMain
sharedInstance
]
getEmbeddedList
]
...
...
@@ -913,8 +913,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
b_init_ok
=
VLC_FALSE
;
p_real_vout
=
[
VLCVoutView
getRealVout
:
p_vout
];
i_device
=
var_GetInteger
(
p_real_vout
->
p_vlc
,
"video-device"
);
b_black
=
var_GetBool
(
p_
real_vout
->
p_vlc
,
"macosx-black"
);
i_device
=
var_GetInteger
(
p_real_vout
->
p_
lib
vlc
,
"video-device"
);
b_black
=
var_GetBool
(
p_
vout
,
"macosx-black"
);
/* Find out on which screen to open the window */
if
(
i_device
<=
0
||
i_device
>
(
int
)[
o_screens
count
]
)
...
...
@@ -944,7 +944,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
backing:
NSBackingStoreBuffered
defer:
YES
screen
:
o_screen
];
if
(
var_GetBool
(
p_real_vout
,
"macosx-black"
)
)
if
(
b_black
==
VLC_TRUE
)
{
CGAcquireDisplayFadeReservation
(
kCGMaxDisplayReservationInterval
,
&
token
);
...
...
@@ -993,7 +992,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
CGReleaseDisplayFadeReservation
(
token
);
}
}
else
if
(
var_GetBool
(
p_
real_
vout
,
"macosx-background"
)
)
else
if
(
var_GetBool
(
p_vout
,
"macosx-background"
)
)
{
NSRect
screen_rect
=
[
o_screen
frame
];
screen_rect
.
origin
.
x
=
screen_rect
.
origin
.
y
=
0
;
...
...
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