diff options
author | wm4 <wm4@nowhere> | 2015-01-08 18:27:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-08 18:30:19 +0100 |
commit | f6e466585a1a1ad9b95afe4f98c15e89f21d2fe4 (patch) | |
tree | cd3fdd0c43a4c9bd2677c73617ec50079924dbab /video/out/w32_common.c | |
parent | 88c6f18209474d05a29a0c13f5473e6aa02455f4 (diff) | |
download | mpv-f6e466585a1a1ad9b95afe4f98c15e89f21d2fe4.tar.bz2 mpv-f6e466585a1a1ad9b95afe4f98c15e89f21d2fe4.tar.xz |
vo_opengl: don't crash win32 backend with NULL events
vo_opengl was crashing since f811348d because it passed NULL for the
events parameter to vo_control. Normally the parameter should not be
NULL, so add a hack to account for this. In particular, we should
handle the events that are returned. For the call in preinit() we
skip this, but it most likely has no meaning anyway, because in this
stage no window is visible yet.
Diffstat (limited to 'video/out/w32_common.c')
0 files changed, 0 insertions, 0 deletions