Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
3c2b8b3e
Commit
3c2b8b3e
authored
11 years ago
by
David Fuhrmann
Browse files
Options
Downloads
Patches
Plain Diff
macosx: add missing retains when exchanging views
parent
d856bd93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/macosx/Windows.m
+4
-0
4 additions, 0 deletions
modules/gui/macosx/Windows.m
with
4 additions
and
0 deletions
modules/gui/macosx/Windows.m
+
4
−
0
View file @
3c2b8b3e
...
...
@@ -784,9 +784,11 @@
[
screen
setFullscreenPresentationOptions
];
[
o_video_view
retain
];
[[
o_video_view
superview
]
replaceSubview
:
o_video_view
with
:
o_temp_view
];
[
o_temp_view
setFrame
:[
o_video_view
frame
]];
[
o_fullscreen_window
setContentView
:
o_video_view
];
[
o_video_view
release
];
[
o_fullscreen_window
makeKeyAndOrderFront
:
self
];
[
o_fullscreen_window
orderFront
:
self
animate
:
YES
];
...
...
@@ -807,9 +809,11 @@
/* Make sure we don't see the o_video_view disappearing of the screen during this operation */
NSDisableScreenUpdates
();
[
o_video_view
retain
];
[[
o_video_view
superview
]
replaceSubview
:
o_video_view
with
:
o_temp_view
];
[
o_temp_view
setFrame
:[
o_video_view
frame
]];
[
o_fullscreen_window
setContentView
:
o_video_view
];
[
o_video_view
release
];
[
o_fullscreen_window
makeKeyAndOrderFront
:
self
];
NSEnableScreenUpdates
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment