mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-07 17:51:52 +08:00
lavd/sdl2: add sdl alias
This commit also adds an sdl alias for the configure script.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -1547,6 +1547,7 @@ EXTERNAL_LIBRARY_LIST="
|
|||||||
opengl
|
opengl
|
||||||
openssl
|
openssl
|
||||||
schannel
|
schannel
|
||||||
|
sdl
|
||||||
sdl2
|
sdl2
|
||||||
securetransport
|
securetransport
|
||||||
videotoolbox
|
videotoolbox
|
||||||
@@ -5846,6 +5847,7 @@ if enabled gcrypt; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
disabled sdl && disable sdl2
|
||||||
if ! disabled sdl2; then
|
if ! disabled sdl2; then
|
||||||
SDL2_CONFIG="${cross_prefix}sdl2-config"
|
SDL2_CONFIG="${cross_prefix}sdl2-config"
|
||||||
if check_pkg_config sdl2 SDL_events.h SDL_PollEvent; then
|
if check_pkg_config sdl2 SDL_events.h SDL_PollEvent; then
|
||||||
|
@@ -352,7 +352,7 @@ static const AVClass sdl2_class = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
AVOutputFormat ff_sdl2_muxer = {
|
AVOutputFormat ff_sdl2_muxer = {
|
||||||
.name = "sdl2",
|
.name = "sdl,sdl2",
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("SDL2 output device"),
|
.long_name = NULL_IF_CONFIG_SMALL("SDL2 output device"),
|
||||||
.priv_data_size = sizeof(SDLContext),
|
.priv_data_size = sizeof(SDLContext),
|
||||||
.audio_codec = AV_CODEC_ID_NONE,
|
.audio_codec = AV_CODEC_ID_NONE,
|
||||||
|
Reference in New Issue
Block a user