]> git.sesse.net Git - vlc/commit
macosx: don't send key events to inexistent p_vout.
authorDerk-Jan Hartman <hartman@videolan.org>
Fri, 1 Aug 2008 14:36:56 +0000 (16:36 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Sun, 3 Aug 2008 00:07:03 +0000 (02:07 +0200)
commit116945aa67e2d27c0756e673942cca2c0a854e8c
tree6510ab4aa8e5ee95bb558fead52be42d693d4299
parentcc76eb7b3515f3e5dea47a82dfea649d32290192
macosx: don't send key events to inexistent p_vout.
Fixes a crash when changing deinterlace filter during pause and then pressing a hotkey (like play-pause). In this case the old vout is destroyed, but the new vout has not received an image yet and has therefore not spawned the new window yet.

We want to keep the possibility of using ESC to leave fullscreen if required, So I don't think we should disable key events all together in this rare case.
modules/gui/macosx/vout.m