From 41fb7f9eb284c55f1648c7b14cfc2f78a012e5be Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Sun, 5 Apr 2026 17:20:23 -0400 Subject: [PATCH] command: use string list helper for option-info --- player/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/command.c b/player/command.c index d979510322..e972073fad 100644 --- a/player/command.c +++ b/player/command.c @@ -4054,8 +4054,8 @@ static int mp_property_option_info(void *ctx, struct m_property *prop, .unavailable = !(has_minmax && opt->min != DBL_MIN)}, {"max", SUB_PROP_DOUBLE(opt->max), .unavailable = !(has_minmax && opt->max != DBL_MAX)}, - {"choices", .type = {.type = CONF_TYPE_STRING_LIST}, - .value = {.string_list = choices}, .unavailable = !choices}, + {"choices", SUB_PROP_STRING_LIST(choices), + .unavailable = !choices}, {0} };