diff options
author | Marton Balint <cus@passwd.hu> | 2019-08-13 23:05:44 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-08-14 22:07:32 +0200 |
commit | c8dcda22f170a3024c34517a766ff07aa0edaa09 (patch) | |
tree | 3aaef787b1a88800c706d7dd2bff042c7a52a210 /compat | |
parent | 75384bc464411fb2291105dca84b8bc411188350 (diff) | |
download | ffmpeg-c8dcda22f170a3024c34517a766ff07aa0edaa09.tar.gz |
ffplay: properly detect all window size changes
SDL_WINDOWEVENT_SIZE_CHANGED should be used instead of SDL_WINDOWEVENT_RESIZED
because SDL_WINDOWEVENT_RESIZED is only emitted if the resize happened due to
an external event.
Fixes ticket #8072.
Additional references:
https://bugzilla.libsdl.org/show_bug.cgi?id=4760
https://wiki.libsdl.org/SDL_WindowEventID
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit a1c70148471c528104d64dffbc7af70e5d1ce33e)
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions