mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
cocoa: change deprecation warning from opengl-cb to libmpv
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user