From 3ca3a235b329d94dff6dda4ab449debbe2816fad Mon Sep 17 00:00:00 2001
From: barracuda156 <vital.had@gmail.com>
Date: Sat, 5 Aug 2023 04:28:27 +0800
Subject: [PATCH] Allow SDL video out on Darwin


diff --git configure.ac configure.ac
index 3568ea7ccd..0765197f71 100644
--- configure.ac
+++ configure.ac
@@ -3218,10 +3219,7 @@
 if test "${enable_sdl}" != "no"
 then
    PKG_CHECK_MODULES(SDL, [sdl >= 1.2.10], [
-      # SDL on Darwin is heavily patched and can only run SDL_image
-      if test "${SYS}" != "darwin"; then
         VLC_ADD_PLUGIN([vout_sdl])
-      fi
       if test "${SYS}" != "mingw32" -a "${SYS}" != "os2"; then
         VLC_ADD_LIBS([vout_sdl],[${X_LIBS} ${X_PRE_LIBS} -lX11])
       fi
