Commit 2892351e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

gui/macosx/vout.m: Backport fixes about white flashes.

parent 97a83930
......@@ -250,6 +250,10 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)closeVout
{
/* Make sure we don't see a white flash */
if( MACOS_VERSION > 10.3f )
[[self window] disableScreenUpdatesUntilFlush];
[o_view removeFromSuperview];
o_view = nil;
p_vout = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment