Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC Browser Plugins
Commits
a83d77ba
Commit
a83d77ba
authored
Jan 28, 2014
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mac plugin: fix crash by avoiding dangling playback layer pointer
parent
38be77b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
npapi/vlcplugin_mac.mm
npapi/vlcplugin_mac.mm
+3
-1
No files found.
npapi/vlcplugin_mac.mm
View file @
a83d77ba
...
...
@@ -405,8 +405,10 @@ bool VlcPluginMac::handle_event(void *event)
[
aLayer
removeFromSuperlayer
];
[
CATransaction
commit
];
if
(
playbackLayer
==
aLayer
)
if
(
playbackLayer
==
aLayer
)
{
[
playbackLayer
release
];
playbackLayer
=
nil
;
}
}
-
(
CGSize
)
currentOutputSize
...
...
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