summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index f53cec04c3..90ef7a8546 100644
--- a/player/command.c
+++ b/player/command.c
@@ -747,7 +747,7 @@ static int get_chapter_entry(int item, int action, void *arg, void *ctx)
double time = chapter_start_time(mpctx, item);
struct m_sub_property props[] = {
{"title", SUB_PROP_STR(name)},
- {"time", CONF_TYPE_TIME, {.time = time}},
+ {"time", {.type = CONF_TYPE_TIME}, {.time = time}},
{0}
};