diff options
author | Jan Ekström <jeebjp@gmail.com> | 2019-10-14 20:30:09 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-10-15 22:12:48 +0300 |
commit | 89f4ce9d6f31d817eb68dede9b066b0af1416fc2 (patch) | |
tree | 57c97fab65d176b98e4b6ce3962e041308090238 /video/out/d3d11 | |
parent | 684ffd13b4940eb7a5d4228f850d903a72570242 (diff) | |
download | mpv-89f4ce9d6f31d817eb68dede9b066b0af1416fc2.tar.bz2 mpv-89f4ce9d6f31d817eb68dede9b066b0af1416fc2.tar.xz |
vo_gpu/d3d11: switch adapter selection to case-insensitive startswith
This lets users set values such as "intel" or "nvidia" as the
adapter vendor is generally noted in the beginning of the
description string.
Diffstat (limited to 'video/out/d3d11')
-rw-r--r-- | video/out/d3d11/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/d3d11/context.c b/video/out/d3d11/context.c index be595eff3d..62c0f5772f 100644 --- a/video/out/d3d11/context.c +++ b/video/out/d3d11/context.c @@ -117,7 +117,7 @@ static int d3d11_validate_adapter(struct mp_log *log, } if (!adapter_matched) { - mp_err(log, "No adapter with name '%.*s'!\n", BSTR_P(param)); + mp_err(log, "No adapter matching '%.*s'!\n", BSTR_P(param)); } return adapter_matched ? 0 : M_OPT_INVALID; |