hmmlib.h: Add "number" parameter to [video] node

This commit is contained in:
Matt Mascarenhas 2022-08-01 20:33:38 +01:00
parent 652d8f186f
commit ef9937e95b
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@ typedef struct {
char* output; char* output;
char* template; char* template;
char* medium; char* medium;
char* number;
HMML_Credit* credits; HMML_Credit* credits;
size_t credit_count; size_t credit_count;
@ -734,6 +735,7 @@ static void _hmml_parse_video(struct _hmml_parser* p)
{ HSTR("id") , &p->out.metadata.id }, { HSTR("id") , &p->out.metadata.id },
{ HSTR("template") , &p->out.metadata.template }, { HSTR("template") , &p->out.metadata.template },
{ HSTR("medium") , &p->out.metadata.medium }, { HSTR("medium") , &p->out.metadata.medium },
{ HSTR("number") , &p->out.metadata.number },
{ HSTR("output") , &p->out.metadata.output }, { HSTR("output") , &p->out.metadata.output },
}; };
@ -820,7 +822,7 @@ void hmml_free(HMML_Output* out)
} }
const struct HMML_Version hmml_version = { const struct HMML_Version hmml_version = {
2, 0, 12 2, 0, 13
}; };
#undef HSTX #undef HSTX