diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2017-09-20 05:53:10 +0300 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2017-09-23 14:41:17 +0300 |
commit | 365b1d4f3d3f3d521002aeb9c4c91c1df1cf0814 (patch) | |
tree | 195d746b58320416dfeff8b0baa014d4d2a58de2 /video/out/vo_sdl.c | |
parent | 2dd2acac897d4fdf201b98f666cfc9bc13cfa33e (diff) | |
download | mpv-365b1d4f3d3f3d521002aeb9c4c91c1df1cf0814.tar.bz2 mpv-365b1d4f3d3f3d521002aeb9c4c91c1df1cf0814.tar.xz |
osc: fix rare stack overflow when changing visibility mode
Under some conditions, hide_osc() was calling render(), which then called
hide_osc() again, and so forth, until the stack overflows.
Tracking the exact conditions where this happens (and then managing them
to prevent it) is an excercise in futility.
Remove the osc directly - instead of going through the entire rendering
procedure just to end up rendering nothing.
Fixes #4900 .
Diffstat (limited to 'video/out/vo_sdl.c')
0 files changed, 0 insertions, 0 deletions