@@ -28,6 +28,7 @@ version <next>:
- gblur filter
- avgblur filter
- deprecated sdl outdev
+- deprecated opengl outdev
version 3.1:
@@ -214,6 +214,8 @@ See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1).
@section opengl
OpenGL output device.
+This device is deprecated and will be removed in a future release.
+
To enable this output device you need to configure FFmpeg with @code{--enable-opengl}.
This output device allows one to render to OpenGL context.
@@ -1064,6 +1064,8 @@ static av_cold int opengl_write_header(AVFormatContext *h)
AVStream *st;
int ret;
+ av_log(h, AV_LOG_WARNING, "The opengl output device is deprecated.\n");
+
if (h->nb_streams != 1 ||
h->streams[0]->codecpar->codec_type != AVMEDIA_TYPE_VIDEO ||
h->streams[0]->codecpar->codec_id != AV_CODEC_ID_RAWVIDEO) {
This device depends on SDL which is deprecated. Signed-off-by: Josh de Kock <josh@itanimul.li> --- Changelog | 1 + doc/outdevs.texi | 2 ++ libavdevice/opengl_enc.c | 2 ++ 3 files changed, 5 insertions(+)