diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-11-25 13:19:01 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-11-25 13:25:56 +0100 |
commit | 65f24858edba17d3c81de41f549b905573275a65 (patch) | |
tree | 24d401400d36e62b404f9c1c42e19154b5de7571 | |
parent | 6d16a96a95e1b6b79344fbf3069004b1dd952d64 (diff) | |
download | ffmpeg-streaming-65f24858edba17d3c81de41f549b905573275a65.zip ffmpeg-streaming-65f24858edba17d3c81de41f549b905573275a65.tar.gz |
ffprobe: always print int values with print_val()
In particular, make the json writer write size values, fix regression
introduced with the addition of the print_val() macro.
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -892,7 +892,7 @@ static void writer_register_all(void) #define print_time(k, v, tb) writer_print_time(w, k, v, tb) #define print_ts(k, v) writer_print_ts(w, k, v) #define print_val(k, v, u) writer_print_string(w, k, \ - value_string(val_str, sizeof(val_str), (struct unit_value){.val.i = v, .unit=u}), 1) + value_string(val_str, sizeof(val_str), (struct unit_value){.val.i = v, .unit=u}), 0) #define print_section_header(s) writer_print_section_header(w, s) #define print_section_footer(s) writer_print_section_footer(w, s) #define show_tags(metadata) writer_show_tags(w, metadata) |