- 20 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Nov, 2011 1 commit
-
-
Clément Bœsch authored
-
- 25 Nov, 2011 1 commit
-
-
Stefano Sabatini authored
In particular, make the json writer write size values, fix regression introduced with the addition of the print_val() macro.
-
- 18 Nov, 2011 1 commit
-
-
Stefano Sabatini authored
This makes possible to use writer_print_integer for printing int64_t values.
-
- 16 Nov, 2011 4 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Stefano Sabatini authored
-
Stefano Sabatini authored
-
- 15 Nov, 2011 2 commits
-
-
Stefano Sabatini authored
-
Stefano Sabatini authored
Add flags field to Writer, and define the WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS flag which forces the display of optional fields, for example non-available or invalid fields. Also set the flag in the default writer. This change is required as for some writers it is preferable to show all fields (for example for avoiding a variable number of fields in CSV output), while for other formats (e.g. JSON, XML) it is better to leave invalid/unavailable fields unspecified and thus simplify the parsing stage on the deserializer side.
-
- 11 Nov, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Nov, 2011 3 commits
-
-
Stefano Sabatini authored
The new design allows to specialize the format for continuos time values and discrete values. In particular, allows to print integer values like "12" rather than "12.000". Prettify, simplify parsing for integer values.
-
Stefano Sabatini authored
-
Stefano Sabatini authored
Help readability.
-
- 05 Nov, 2011 2 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 04 Nov, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 Oct, 2011 5 commits
-
-
Clément Bœsch authored
It could be re-used for instance in case ffprobe would support multiple input files.
-
Stefano Sabatini authored
-
Stefano Sabatini authored
Simplify, and avoid the need for multiple escaping levels.
-
Stefano Sabatini authored
So they can be used by other escaping routines.
-
Stefano Sabatini authored
The new code avoids to call av_malloc/av_free when escaping is needed (possibly faster), avoids an integer overflow in case of a huge string, and provides feedback when a string cannot be escaped. When a string cannot be escaped, a special string is printed instead.
-
- 14 Oct, 2011 1 commit
-
-
Stefano Sabatini authored
It is useful for logging messages from a writer context.
-
- 12 Oct, 2011 1 commit
-
-
Stefano Sabatini authored
-
- 10 Oct, 2011 1 commit
-
-
Stefano Sabatini authored
This is consistent with chapter names. The default writer section names are converted to uppercase for keeping backward compatibility.
-
- 09 Oct, 2011 2 commits
-
-
Stefano Sabatini authored
This allows -print_format to accept string of the form WRITER=OPTIONS, as required by the pending compact writer patch.
-
Stefano Sabatini authored
The new provided API is more flexible and is decoupled from the application level code, so it is easier to maintain.
-
- 28 Sep, 2011 1 commit
-
-
Clément Bœsch authored
-
- 21 Sep, 2011 3 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 16 Sep, 2011 1 commit
-
-
Clément Bœsch authored
-
- 13 Sep, 2011 3 commits
-
-
Clément Bœsch authored
Renamed for consistency. Also, since print_int() and print_str() are already defined as macros, the long name version is preferred.
-
Clément Bœsch authored
-
Clément Bœsch authored
Having a string callback is much more simpler than a variable args one for writers to deal with, especially when dealing with escaping. This patch also introduces a local fast_asprintf() function which is similar to av_asprintf() but avoids reallocating at each print (leading to a performance issue).
-
- 09 Sep, 2011 1 commit
-
-
Clément Bœsch authored
-
- 08 Sep, 2011 1 commit
-
-
Clément Bœsch authored
-
- 01 Sep, 2011 1 commit
-
-
Clément Bœsch authored
-
- 30 Aug, 2011 1 commit
-
-
Clément Bœsch authored
-
- 26 Aug, 2011 1 commit
-
-
Clément Bœsch authored
-