summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/hwdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/hwdec.c')
-rw-r--r--video/out/gpu/hwdec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/video/out/gpu/hwdec.c b/video/out/gpu/hwdec.c
index a2b92ad549..8b7e271c6a 100644
--- a/video/out/gpu/hwdec.c
+++ b/video/out/gpu/hwdec.c
@@ -189,8 +189,6 @@ static int ra_hwdec_validate_opt_full(struct mp_log *log, bool include_modes,
mp_info(log, " %s\n", drv->name);
} else if (bstr_equals0(param, drv->name)) {
return 1;
- } else if (bstr_equals0(param, drv->legacy_name)) {
- return 1;
}
}
if (help) {
@@ -281,12 +279,6 @@ void ra_hwdec_ctx_init(struct ra_hwdec_ctx *ctx, struct mp_hwdec_devices *devs,
if (strcmp(type, drv->name) == 0) {
load_add_hwdec(ctx, devs, drv, false);
break;
- } else if (drv->legacy_name && strcmp(type, drv->legacy_name) == 0) {
- MP_WARN(ctx, "gpu-hwdec-interop was selected with the legacy name '%s'. "
- "Please change it to '%s' in your config file or command line.\n",
- drv->legacy_name, drv->name);
- load_add_hwdec(ctx, devs, drv, false);
- break;
}
}
}