Commit 56f9da19 authored by Felix Paul Kühne's avatar Felix Paul Kühne

vout_macosx: fix runtime exception when setting the colorspace

parent ab435531
......@@ -839,7 +839,9 @@ static void OpenglSwap (vlc_gl_t *gl)
[super viewWillMoveToWindow:newWindow];
if (newWindow != nil) {
[newWindow setColorSpace:vd->sys->nsColorSpace];
@synchronized(newWindow) {
[newWindow setColorSpace:vd->sys->nsColorSpace];
}
}
}
......
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