mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 06:15:24 +00:00
file identification: output JSON number types as 64bit unsigned integers
This commit is contained in:
parent
76bf4cd6f2
commit
7e222cb950
@ -320,7 +320,7 @@ generic_reader_c::display_identification_results_as_text() {
|
||||
auto formatter = boost::format{"%1%:%2%"};
|
||||
|
||||
for (auto const &pair : info) {
|
||||
auto value = pair.second.is_number() ? to_string(pair.second.get<int64_t>())
|
||||
auto value = pair.second.is_number() ? to_string(pair.second.get<uint64_t>())
|
||||
: pair.second.is_boolean() ? std::string{pair.second.get<bool>() ? "1" : "0"}
|
||||
: pair.second.get<std::string>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user