Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b82bc834
Commit
b82bc834
authored
Nov 25, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix issue which caused automatic video resizing even if disabled
close #9864
parent
ee3e5d56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/macosx/VLCVoutWindowController.m
modules/gui/macosx/VLCVoutWindowController.m
+3
-3
No files found.
modules/gui/macosx/VLCVoutWindowController.m
View file @
b82bc834
...
@@ -187,10 +187,9 @@
...
@@ -187,10 +187,9 @@
}
}
if
(
!
b_video_wallpaper
)
{
if
(
!
b_video_wallpaper
)
{
// set window size
// set (only!) window origin if specified
if
(
b_nonembedded
)
{
if
(
b_nonembedded
)
{
NSRect
window_rect
=
[
o_new_video_window
getWindowRectForProposedVideoViewSize
:
videoViewSiz
e
];
NSRect
window_rect
=
[
o_new_video_window
fram
e
];
if
(
videoViewPosition
.
origin
.
x
>
0
.)
if
(
videoViewPosition
.
origin
.
x
>
0
.)
window_rect
.
origin
.
x
=
videoViewPosition
.
origin
.
x
;
window_rect
.
origin
.
x
=
videoViewPosition
.
origin
.
x
;
if
(
videoViewPosition
.
origin
.
y
>
0
.)
if
(
videoViewPosition
.
origin
.
y
>
0
.)
...
@@ -212,6 +211,7 @@
...
@@ -212,6 +211,7 @@
[
o_new_video_window
setFrameTopLeftPoint
:
top_left_point
];
[
o_new_video_window
setFrameTopLeftPoint
:
top_left_point
];
}
}
// resize window
[
o_new_video_window
setNativeVideoSize
:
videoViewSize
];
[
o_new_video_window
setNativeVideoSize
:
videoViewSize
];
[
o_new_video_window
makeKeyAndOrderFront
:
self
];
[
o_new_video_window
makeKeyAndOrderFront
:
self
];
...
...
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