mirror of https://github.com/mpv-player/mpv
build: drop support for SDL1
For some reason it was supported for ao_sdl because we've only used SDL1 API.
This commit is contained in:
parent
02f9087de9
commit
1dcf511376
|
@ -82,7 +82,7 @@ static const struct ao_driver * const audio_out_drivers[] = {
|
|||
#if HAVE_OPENSLES
|
||||
&audio_out_opensles,
|
||||
#endif
|
||||
#if HAVE_SDL1 || HAVE_SDL2
|
||||
#if HAVE_SDL2
|
||||
&audio_out_sdl,
|
||||
#endif
|
||||
#if HAVE_SNDIO
|
||||
|
|
6
wscript
6
wscript
|
@ -481,12 +481,6 @@ audio_output_features = [
|
|||
'desc': 'SDL2',
|
||||
'func': check_pkg_config('sdl2'),
|
||||
'default': 'disable'
|
||||
}, {
|
||||
'name': '--sdl1',
|
||||
'desc': 'SDL (1.x)',
|
||||
'deps': '!sdl2',
|
||||
'func': check_pkg_config('sdl'),
|
||||
'default': 'disable'
|
||||
}, {
|
||||
'name': '--oss-audio',
|
||||
'desc': 'OSS',
|
||||
|
|
|
@ -240,7 +240,6 @@ def build(ctx):
|
|||
( "audio/out/ao_pcm.c" ),
|
||||
( "audio/out/ao_pulse.c", "pulse" ),
|
||||
( "audio/out/ao_rsound.c", "rsound" ),
|
||||
( "audio/out/ao_sdl.c", "sdl1" ),
|
||||
( "audio/out/ao_sdl.c", "sdl2" ),
|
||||
( "audio/out/ao_sndio.c", "sndio" ),
|
||||
( "audio/out/ao_wasapi.c", "wasapi" ),
|
||||
|
|
Loading…
Reference in New Issue