diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2017-04-02 00:13:18 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2017-04-02 00:41:49 +1100 |
commit | 16ff72cc14dc8ca0fc44083dbf967e7366d6c185 (patch) | |
tree | 8d0b10c3a6f1349b3c118191291955fb29982dfb /LICENSE | |
parent | 8aaef132f60b13054587c30045135fb2afe7523a (diff) | |
download | mpv-16ff72cc14dc8ca0fc44083dbf967e7366d6c185.tar.bz2 mpv-16ff72cc14dc8ca0fc44083dbf967e7366d6c185.tar.xz |
w32_common: fix undefined behaviour when toggling fullscreen
The old code called reinit_window_state() from the VO thread, which is
not safe. Instead of calling reinit_window_state() when
VO_EVENT_FULLSCREEN_STATE is captured, it should be called when sending
the event from the Win32 thread instead.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions