diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_sdl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index fa9b593b55..9f6cadacc3 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -770,6 +770,8 @@ static int preinit(struct vo *vo, const char *arg) // predefine SDL defaults (SDL env vars shall override) SDL_SetHintWithPriority(SDL_HINT_RENDER_SCALE_QUALITY, "1", SDL_HINT_DEFAULT); + SDL_SetHintWithPriority(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0", + SDL_HINT_DEFAULT); // predefine MPV options (SDL env vars shall be overridden) SDL_SetHintWithPriority(SDL_HINT_RENDER_VSYNC, vc->vsync ? "1" : "0", |