ffprobe: change formatting logic in the JSON writer
authorStefano Sabatini <stefasab@gmail.com>
Sun, 8 Jan 2012 00:44:02 +0000 (01:44 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 9 Jan 2012 12:41:35 +0000 (13:41 +0100)
commit3b1355bb93ad55f219e20feb31d418ef782cfb83
tree3832250880e7951ac44660a36fa578c053937d0a
parent48f37b1d21584e71855612f71afd0acc3261b5a9
ffprobe: change formatting logic in the JSON writer

Print a "\n" at the end of each section, also print the section name in
the section print function, print the chapter name only in case the
chapter contains multiple entries.

Increase textual output readability - different sections can be
distinguished more easily.
ffprobe.c