[FFmpeg-devel] [PATCH] lavd/sdl2: rename user-facing names to sdl

Josh de Kock josh at itanimul.li
Sun Sep 25 14:55:24 EEST 2016


Signed-off-by: Josh de Kock <josh at itanimul.li>
---
 configure          | 2 +-
 libavdevice/sdl2.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index f593191..4cfd840 100755
--- a/configure
+++ b/configure
@@ -291,7 +291,7 @@ External library support:
                            if gnutls is not used [no]
   --disable-schannel       disable SChannel SSP, needed for TLS support on
                            Windows if openssl and gnutls are not used [autodetect]
-  --disable-sdl2           disable sdl2 [autodetect]
+  --disable-sdl            disable sdl2 [autodetect]
   --disable-securetransport disable Secure Transport, needed for TLS support
                            on OSX if openssl and gnutls are not used [autodetect]
   --enable-x11grab         enable X11 grabbing (legacy) [no]
diff --git a/libavdevice/sdl2.c b/libavdevice/sdl2.c
index 217ccc0..efc587c 100644
--- a/libavdevice/sdl2.c
+++ b/libavdevice/sdl2.c
@@ -352,7 +352,7 @@ static const AVClass sdl2_class = {
 };
 
 AVOutputFormat ff_sdl2_muxer = {
-    .name           = "sdl2",
+    .name           = "sdl",
     .long_name      = NULL_IF_CONFIG_SMALL("SDL2 output device"),
     .priv_data_size = sizeof(SDLContext),
     .audio_codec    = AV_CODEC_ID_NONE,
-- 
2.8.4 (Apple Git-73)



More information about the ffmpeg-devel mailing list