diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2012-12-28 08:07:14 +0100 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2012-12-28 08:40:28 +0100 |
commit | c3cc38e4c40d23178330e035c8befc0443a2868b (patch) | |
tree | bbcb141fb3c1e044b392297c310850aff6e63fd4 /video/out/vo.c | |
parent | e830b004580a547c1d27f106ca493c70712ec1a6 (diff) | |
download | mpv-c3cc38e4c40d23178330e035c8befc0443a2868b.tar.bz2 mpv-c3cc38e4c40d23178330e035c8befc0443a2868b.tar.xz |
vo/ao: SDL 1.2+ audio driver, SDL 2.0+ accelerated video driver
This mainly serves as a fallback for platforms where nothing better is
available; also as a debugging help. Both the audio and video driver are
not first class - the audio driver lacks delay detection, and the video
driver only supports a single YUV color space.
Configure options: --disable-sdl2 to disable SDL 2.0+ detection,
--disable-sdl to disable SDL 1.2+ detection. Both options need to be
specified to turn off SDL support entirely.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 04bd9cbb1b..7ec9ccdaf7 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -83,6 +83,7 @@ extern struct vo_driver video_out_lavc; extern struct vo_driver video_out_caca; extern struct vo_driver video_out_direct3d; extern struct vo_driver video_out_direct3d_shaders; +extern struct vo_driver video_out_sdl; extern struct vo_driver video_out_corevideo; const struct vo_driver *video_out_drivers[] = @@ -110,6 +111,9 @@ const struct vo_driver *video_out_drivers[] = &video_out_opengl_old, #endif #endif +#ifdef CONFIG_SDL2 + &video_out_sdl, +#endif #ifdef CONFIG_X11 &video_out_x11, #endif |