summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2018-04-18 16:04:27 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-29 15:03:47 +0300
commit6bd2bdc74522f0fbcc51f79e435729b1efe6c4f6 (patch)
treed335754fa77fa89e49f51fe7ace335d42b96fa2a
parent044f1ffcd546b14096aab0828b3e8c0d52d13927 (diff)
downloadmpv-6bd2bdc74522f0fbcc51f79e435729b1efe6c4f6.tar.bz2
mpv-6bd2bdc74522f0fbcc51f79e435729b1efe6c4f6.tar.xz
cocoa: change deprecation warning from opengl-cb to libmpv
-rw-r--r--DOCS/interface-changes.rst4
-rw-r--r--video/out/opengl/context_cocoa.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index a21f50e0fa..9c29f31b0a 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -75,10 +75,10 @@ Interface changes
pad must be connected either to another filter, or to a video/audio track
or video/audio output). If they are disconnected at runtime, the stream
will probably stall.
- - deprecate the OpenGL cocoa backend, option choice --gpu-context=cocoa
- when used with --gpu-api=opengl (use --vo=opengl-cb)
- rename --vo=opengl-cb to --vo=libmpv (goes in hand with the opengl-cb
API deprecation, see client-api-changes.rst)
+ - deprecate the OpenGL cocoa backend, option choice --gpu-context=cocoa
+ when used with --gpu-api=opengl (use --vo=libmpv)
- make --deinterlace=yes always deinterlace, instead of trying to check
certain unreliable video metadata. Also flip the defaults of all builtin
HW deinterlace filters to always deinterlace.
diff --git a/video/out/opengl/context_cocoa.c b/video/out/opengl/context_cocoa.c
index 367c6cd291..b73ca9d9a2 100644
--- a/video/out/opengl/context_cocoa.c
+++ b/video/out/opengl/context_cocoa.c
@@ -171,7 +171,7 @@ static bool cocoa_init(struct ra_ctx *ctx)
p->opts = mp_get_config_group(ctx, ctx->global, &cocoa_conf);
vo_cocoa_init(ctx->vo);
- MP_WARN(ctx->vo, "opengl cocoa backend is deprecated, use opengl-cb instead\n");
+ MP_WARN(ctx->vo, "opengl cocoa backend is deprecated, use vo=libmpv instead\n");
if (!create_gl_context(ctx))
goto fail;