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
af3abae3
Commit
af3abae3
authored
May 13, 2004
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/vout.m : fixed --macosx-fillscreen
parent
69db2459
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+17
-11
No files found.
modules/gui/macosx/vout.m
View file @
af3abae3
...
...
@@ -1489,9 +1489,14 @@ CATCH_MOUSE_EVENTS
f_x
=
1
.
0
;
f_y
=
1
.
0
;
}
else
{
/* Quad size is set in order to preserve the aspect ratio */
else
if
(
bounds
.
size
.
height
*
p_vout
->
output
.
i_aspect
<
bounds
.
size
.
width
*
VOUT_ASPECT_FACTOR
)
int
fill
=
(
config_GetInt
(
p_vout
,
"macosx-fill"
)
&&
p_vout
->
b_fullscreen
);
int
large
=
(
bounds
.
size
.
height
*
p_vout
->
output
.
i_aspect
<
bounds
.
size
.
width
*
VOUT_ASPECT_FACTOR
);
if
(
(
large
&&
!
fill
)
||
(
!
large
&&
fill
)
)
{
f_x
=
bounds
.
size
.
height
*
p_vout
->
output
.
i_aspect
/
VOUT_ASPECT_FACTOR
/
bounds
.
size
.
width
;
...
...
@@ -1503,6 +1508,7 @@ CATCH_MOUSE_EVENTS
f_y
=
bounds
.
size
.
width
*
VOUT_ASPECT_FACTOR
/
p_vout
->
output
.
i_aspect
/
bounds
.
size
.
height
;
}
}
}
-
(
void
)
initTextures
...
...
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