aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-10-24 21:12:32 -0300
committerJames Almer <jamrial@gmail.com>2018-10-24 21:12:32 -0300
commit6a112349c206d681636eaa3069f32030c1bd3196 (patch)
tree202cce7d639895c38c6adb4dcb80324e21d1e489
parentf370142ec08bf99040953916feb5fd6ec3d7e3e4 (diff)
downloadffmpeg-6a112349c206d681636eaa3069f32030c1bd3196.tar.gz
configure: add missing optional SDL2 dependency to OpenGL outdev
Signed-off-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 85d5dd5962..01c3a1011d 100755
--- a/configure
+++ b/configure
@@ -3267,6 +3267,7 @@ libcdio_indev_deps="libcdio"
libdc1394_indev_deps="libdc1394"
openal_indev_deps="openal"
opengl_outdev_deps="opengl"
+opengl_outdev_suggest="sdl2"
oss_indev_deps_any="sys_soundcard_h"
oss_outdev_deps_any="sys_soundcard_h"
pulse_indev_deps="libpulse"
@@ -6903,7 +6904,8 @@ enabled zoompan_filter && prepend avfilter_deps "swscale"
enabled lavfi_indev && prepend avdevice_deps "avfilter"
#FIXME
-enabled sdl2_outdev && add_cflags $(filter_out '-Dmain=SDL_main' $sdl2_cflags)
+enabled_any sdl2_outdev opengl_outdev && enabled sdl2 &&
+ add_cflags $(filter_out '-Dmain=SDL_main' $sdl2_cflags)
enabled opus_decoder && prepend avcodec_deps "swresample"