mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
Each graph prints itself from its own thread, and splicing the text that a separate formatter context wrote for the graph section into the final one only works for writers that print every field immediately. Record the calls instead and replay them into the context that prints everything at the end, so the writers see one consistent sequence. This removes the blank line after each graph in compact and csv output and numbers the graphs correctly in flat and ini output. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>