mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
fftools/tf_mermaid: close subgraph header when there are no inputs.
Ensure that the fragment to close the header (`</div>\"]`) is written when the function `mermaid_print_section_header` is called only once, which happens when the filtergraph has no inputs.
This commit is contained in:
@@ -456,6 +456,8 @@ static void mermaid_print_section_footer(AVTextFormatContext *tfc)
|
||||
|
||||
} else if ((section->flags & AV_TEXTFORMAT_SECTION_FLAG_IS_SUBGRAPH)) {
|
||||
|
||||
mermaid_subgraph_complete_start(mmc, tfc, tfc->level);
|
||||
|
||||
MM_INDENT();
|
||||
writer_put_str(tfc, "end\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user