[FFmpeg-devel] [PATCH] lavd/sdl2: add sdl alias

Josh de Kock josh at itanimul.li
Sun Sep 25 15:28:56 EEST 2016


Signed-off-by: Josh de Kock <josh at itanimul.li>
---

 The --enable-sdl2 option is not being renamed because it's a fairly
 big change and sdl2 is incompatible with sdl.

 libavdevice/sdl2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/sdl2.c b/libavdevice/sdl2.c
index 217ccc0..5d9e91e 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,sdl2",
     .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