[FFmpeg-devel] [PATCH 0/2] Remove SDL2 output devices

Zhao Zhili quinkblack at foxmail.com
Sun Feb 4 11:19:11 EET 2024



> On Feb 4, 2024, at 17:02, J. Dekker <jdek at itanimul.li> wrote:
> 
> With the addition of threading in ffmpeg.c, the SDL2 devices no longer have the
> 'main' thread. This means that both the SDL2 and OpenGL output device are broken
> in master. Rather than attempting to fix it, they should be removed instead as
> there are better alternatives for debugging or viewing streams.

Please note they are broken only with fftools, they work as before when used as libavdevice
in theory. Please take this into consideration. I have no use case by myself.

> 
> The 'pipe:' output can be used with a real video player such as mpv, vlc, or
> even ffplay. For cases where the user was an application using the API they
> should supply their own renderer.
> 
> J. Dekker (2):
>  avdevice: remove sdl2 outdev
>  avdevice: remove OpenGL device
> 
> MAINTAINERS              |    3 -
> configure                |   16 -
> doc/outdevs.texi         |  105 ---
> libavdevice/Makefile     |    2 -
> libavdevice/alldevices.c |    2 -
> libavdevice/opengl_enc.c | 1313 --------------------------------------
> libavdevice/sdl2.c       |  370 -----------
> 7 files changed, 1811 deletions(-)
> delete mode 100644 libavdevice/opengl_enc.c
> delete mode 100644 libavdevice/sdl2.c
> 
> -- 
> 2.43.0
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list