From 46fa2a4f775421679b7ba796593e0c444b359e7e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 30 Jan 2004 19:30:27 +0000 Subject: [PATCH] Also print out the duration in a more human readable form. --- src/mkvinfo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mkvinfo.cpp b/src/mkvinfo.cpp index 6e415ae42..5b2010192 100644 --- a/src/mkvinfo.cpp +++ b/src/mkvinfo.cpp @@ -690,8 +690,9 @@ bool process_file(const char *file_name) { } else if (is_id(l2, KaxDuration)) { KaxDuration &duration = *static_cast(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(l2);