mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Also print out the duration in a more human readable form.
This commit is contained in:
parent
b3f1e7a5ca
commit
46fa2a4f77
@ -690,8 +690,9 @@ bool process_file(const char *file_name) {
|
||||
|
||||
} else if (is_id(l2, KaxDuration)) {
|
||||
KaxDuration &duration = *static_cast<KaxDuration *>(l2);
|
||||
show_element(l2, 2, "Duration: %.3fs",
|
||||
float(duration) * tc_scale / 1000000000.0);
|
||||
show_element(l2, 2, "Duration: %.3fs (" FMT_TIMECODE ")",
|
||||
float(duration) * tc_scale / 1000000000.0,
|
||||
ARG_TIMECODE_NS(float(duration) * tc_scale));
|
||||
|
||||
} else if (is_id(l2, KaxMuxingApp)) {
|
||||
KaxMuxingApp &muxingapp = *static_cast<KaxMuxingApp *>(l2);
|
||||
|
Loading…
Reference in New Issue
Block a user