Commit 71257b03 authored by diego's avatar diego

Print duration with higher precision.

patch from Hervé Flores, herve.flores free fr


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12847 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 96aa8ef7
......@@ -2634,8 +2634,8 @@ void dump_format(AVFormatContext *ic,
secs %= 60;
hours = mins / 60;
mins %= 60;
av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%01d", hours, mins, secs,
(10 * us) / AV_TIME_BASE);
av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%02d", hours, mins, secs,
(100 * us) / AV_TIME_BASE);
} else {
av_log(NULL, AV_LOG_INFO, "N/A");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment