diff options
author | Marton Balint <cus@passwd.hu> | 2019-08-13 23:05:44 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-08-14 21:57:46 +0200 |
commit | a1c70148471c528104d64dffbc7af70e5d1ce33e (patch) | |
tree | 2a709fa668d838f70808a38f467c6f3d2cc415a0 /compat/getopt.c | |
parent | 8fcc5d963ebc5a9b8ee21fc79e5f3526f62a605d (diff) | |
download | ffmpeg-a1c70148471c528104d64dffbc7af70e5d1ce33e.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>
Diffstat (limited to 'compat/getopt.c')
0 files changed, 0 insertions, 0 deletions