Commit 1322b000 authored by André Camargo's avatar André Camargo Committed by Michael Niedermayer

fftools/ffmpeg: change fps progress log message to show two decimal digits

Useful when transcoding videos at 29.97 fps because delivers a more accurate result for monitoring.
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent e84212b7
......@@ -1706,7 +1706,7 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
av_bprintf(&buf, "frame=%5d fps=%3.*f q=%3.1f ",
frame_number, fps < 9.95, fps, q);
av_bprintf(&buf_script, "frame=%d\n", frame_number);
av_bprintf(&buf_script, "fps=%.1f\n", fps);
av_bprintf(&buf_script, "fps=%.2f\n", fps);
av_bprintf(&buf_script, "stream_%d_%d_q=%.1f\n",
ost->file_index, ost->index, q);
if (is_last_report)
......
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