cocoa: change deprecation warning from opengl-cb to libmpv

This commit is contained in:
Akemi
2018-04-18 16:04:27 +02:00
committed by Jan Ekström
parent 044f1ffcd5
commit 6bd2bdc745
2 changed files with 3 additions and 3 deletions

View File

@@ -75,10 +75,10 @@ Interface changes
pad must be connected either to another filter, or to a video/audio track 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 or video/audio output). If they are disconnected at runtime, the stream
will probably stall. 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 - rename --vo=opengl-cb to --vo=libmpv (goes in hand with the opengl-cb
API deprecation, see client-api-changes.rst) 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 - make --deinterlace=yes always deinterlace, instead of trying to check
certain unreliable video metadata. Also flip the defaults of all builtin certain unreliable video metadata. Also flip the defaults of all builtin
HW deinterlace filters to always deinterlace. HW deinterlace filters to always deinterlace.

View File

@@ -171,7 +171,7 @@ static bool cocoa_init(struct ra_ctx *ctx)
p->opts = mp_get_config_group(ctx, ctx->global, &cocoa_conf); p->opts = mp_get_config_group(ctx, ctx->global, &cocoa_conf);
vo_cocoa_init(ctx->vo); 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)) if (!create_gl_context(ctx))
goto fail; goto fail;