Fix corrupted image (and probably crashes) when changing the player's
authorCarl Hetherington <cth@carlh.net>
Sun, 18 Mar 2018 23:43:49 +0000 (23:43 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 18 Mar 2018 23:43:49 +0000 (23:43 +0000)
commit7b56088a731550ce0b07f9454c70fde39982a69a
treeb3572d61f9b835a40f7b294c72b0f1d787509acd
parent8c0ca24cfddee9d1541fd2240ba62eaf52d18da5
Fix corrupted image (and probably crashes) when changing the player's
window size; we request images of the new size with set_video_container_size
but some old ones from the butler (I think) will arrive.  Check that the
images are the right size before we try to construct a wxBitmap with them.
Should fix #1242.
src/wx/film_viewer.cc