diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2020-12-21 14:16:49 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2020-12-23 00:41:07 +0530 |
commit | 842714b5cb4112ec6805ed228b34d711024ad9e2 (patch) | |
tree | 74ad01f5af35ea046040dc5ead7c8fc310b90e57 /fftools/ffmpeg.h | |
parent | 686c07fb1e0455c4205eaad18e8a01bf64058dec (diff) | |
download | ffmpeg-842714b5cb4112ec6805ed228b34d711024ad9e2.tar.gz |
ffmpeg: add option stats_period
At present, progress stats are updated at a hardcoded interval of
half a second. For long processes, this can lead to bloated
logs and progress reports.
Users can now set a custom period using option -stats_period
Default is kept at 0.5 seconds.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 3b54dab7fc..8046e75026 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -614,6 +614,7 @@ extern int debug_ts; extern int exit_on_error; extern int abort_on_flags; extern int print_stats; +extern int64_t stats_period; extern int qp_hist; extern int stdin_interaction; extern int frame_bits_per_raw_sample; |