From ef9937e95b9f0e4bd17dd3fb22d9ec995448b7bd Mon Sep 17 00:00:00 2001 From: Matt Mascarenhas Date: Mon, 1 Aug 2022 20:33:38 +0100 Subject: [PATCH] hmmlib.h: Add "number" parameter to [video] node --- hmmlib2/hmmlib.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hmmlib2/hmmlib.h b/hmmlib2/hmmlib.h index eee625a..d9ce48d 100644 --- a/hmmlib2/hmmlib.h +++ b/hmmlib2/hmmlib.h @@ -24,6 +24,7 @@ typedef struct { char* output; char* template; char* medium; + char* number; HMML_Credit* credits; size_t credit_count; @@ -734,6 +735,7 @@ static void _hmml_parse_video(struct _hmml_parser* p) { HSTR("id") , &p->out.metadata.id }, { HSTR("template") , &p->out.metadata.template }, { HSTR("medium") , &p->out.metadata.medium }, + { HSTR("number") , &p->out.metadata.number }, { HSTR("output") , &p->out.metadata.output }, }; @@ -820,7 +822,7 @@ void hmml_free(HMML_Output* out) } const struct HMML_Version hmml_version = { - 2, 0, 12 + 2, 0, 13 }; #undef HSTX