summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAndré Camargo <andreribeirocamargo@gmail.com>2018-04-27 20:00:33 -0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-04-28 18:08:52 +0200
commit1322b00060d3115b4a9b3c61bb5dee4b2977d59a (patch)
tree8c0765b10adf699149020eb38dc3b0d3e70ef3e0 /fftools/ffmpeg.c
parente84212b78e00df17799e01be1e153a073eb8f689 (diff)
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: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 4036058591..d3054092ba 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -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)