diff options
author | Anton Kindestam <antonki@kth.se> | 2018-06-02 12:53:58 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-05-04 14:17:11 +0200 |
commit | 8261924db93eb436a9e1606d437f0fe64e56dc66 (patch) | |
tree | f842ea92e1d575d78f8f95925b2e81ae93ad7a0e /video/out/opengl | |
parent | a776628d88cb6dab677ba8977d54861d24571c69 (diff) | |
download | mpv-8261924db93eb436a9e1606d437f0fe64e56dc66.tar.bz2 mpv-8261924db93eb436a9e1606d437f0fe64e56dc66.tar.xz |
drm_common: Add proper help option to drm-mode
This was implemented by using OPT_STRING_VALIDATE for drm-mode,
instead of OPT_INT. Using a string here also prepares for future
additions to drm-mode that aim to allow specifying a mode by its
resolution.
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/context_drm_egl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c index f8360d3e62..c4cc28b762 100644 --- a/video/out/opengl/context_drm_egl.c +++ b/video/out/opengl/context_drm_egl.c @@ -764,7 +764,7 @@ static bool drm_egl_init(struct ra_ctx *ctx) MP_VERBOSE(ctx, "Initializing KMS\n"); p->kms = kms_create(ctx->log, ctx->vo->opts->drm_opts->drm_connector_spec, - ctx->vo->opts->drm_opts->drm_mode_id, + ctx->vo->opts->drm_opts->drm_mode_spec, ctx->vo->opts->drm_opts->drm_draw_plane, ctx->vo->opts->drm_opts->drm_drmprime_video_plane, ctx->vo->opts->drm_opts->drm_atomic); |