From 6bd2bdc74522f0fbcc51f79e435729b1efe6c4f6 Mon Sep 17 00:00:00 2001 From: Akemi Date: Wed, 18 Apr 2018 16:04:27 +0200 Subject: cocoa: change deprecation warning from opengl-cb to libmpv --- DOCS/interface-changes.rst | 4 ++-- video/out/opengl/context_cocoa.c | 2 +- 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; -- cgit v1.2.3