[vlc-devel] [vlc-commits] vout-macosx: add exception handler for color space setter as the NSWindow may be nuked without us being notified about it

Felix Paul Kühne fkuehne at videolan.org
Sun Oct 2 17:29:17 CEST 2016


Hi David,

> On 2 Oct 2016, at 17:19, David Fuhrmann <david.fuhrmann at gmail.com> wrote:
> 
> Could you detail what exception is supposed to be catched here? In the docu I just see that colorSpace is a property of NSWindow. How can it fail setting the color space here?

The NSWindow may not respond to that selector as part of a race condition in AppKit when creating the window and VLC trying to set the colorspace before the window is ready yet. Weirdly, querying for the existence of the selector did not solve the problem for me.

Cheers,

Felix


More information about the vlc-devel mailing list