diff options
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r-- | video/out/vo_sdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index bd7e024585..9d21a87118 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -769,8 +769,8 @@ static int preinit(struct vo *vo) { struct priv *vc = vo->priv; - if (SDL_WasInit(SDL_INIT_VIDEO)) { - MP_ERR(vo, "already initialized\n"); + if (SDL_WasInit(SDL_INIT_EVENTS)) { + MP_ERR(vo, "Another component is using SDL already.\n"); return -1; } |