[FFmpeg-devel] [PATCH] lavd: deprecate SDL device

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 10 23:05:49 EEST 2016


2016-09-10 21:53 GMT+02:00 Josh de Kock <josh at itanimul.li>:

> +if ! enabled sdl; then
> +    disable sdl_outdev
> +fi

This is not necessary:
You can remove the device anytime after deprecating it, no
need to disable it by default.

> +    av_log(s, AV_LOG_WARNING, "The SDL output device is deprecated.\n");

This is ok and sufficient.

Please also add a line to the documentation, add a line that it is deprecated,
feel free to also mention it in the Changelog.

Carl Eugen


More information about the ffmpeg-devel mailing list