Print duration with higher precision.
patch from Hervé Flores, herve.flores free fr Originally committed as revision 12847 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
52cb7981e2
commit
d965c3e7bc
@ -2634,8 +2634,8 @@ void dump_format(AVFormatContext *ic,
|
|||||||
secs %= 60;
|
secs %= 60;
|
||||||
hours = mins / 60;
|
hours = mins / 60;
|
||||||
mins %= 60;
|
mins %= 60;
|
||||||
av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%01d", hours, mins, secs,
|
av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%02d", hours, mins, secs,
|
||||||
(10 * us) / AV_TIME_BASE);
|
(100 * us) / AV_TIME_BASE);
|
||||||
} else {
|
} else {
|
||||||
av_log(NULL, AV_LOG_INFO, "N/A");
|
av_log(NULL, AV_LOG_INFO, "N/A");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user