[FFmpeg-cvslog] fftools/ffmpeg: replace ff_dlog() with av_log()
Anton Khirnov
git at videolan.org
Sun Apr 9 16:50:35 EEST 2023
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Mar 25 11:52:28 2023 +0100| [b79448fa38fbc54086b72fa83136168bda2cadf8] | committer: Anton Khirnov
fftools/ffmpeg: replace ff_dlog() with av_log()
ff_dlog() is a lavu internal macro, and av_log() at trace level is just
as good here.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b79448fa38fbc54086b72fa83136168bda2cadf8
---
fftools/ffmpeg.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 5b42a914f8..37578081a3 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -49,7 +49,6 @@
#include "libavutil/samplefmt.h"
#include "libavutil/fifo.h"
#include "libavutil/hwcontext.h"
-#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/display.h"
@@ -1202,13 +1201,14 @@ static enum AVPictureType forced_kf_apply(void *logctx, KeyframeForceCtx *kf,
kf->expr_const_values[FKF_T] = pts_time;
res = av_expr_eval(kf->pexpr,
kf->expr_const_values, NULL);
- ff_dlog(NULL, "force_key_frame: n:%f n_forced:%f prev_forced_n:%f t:%f prev_forced_t:%f -> res:%f\n",
- kf->expr_const_values[FKF_N],
- kf->expr_const_values[FKF_N_FORCED],
- kf->expr_const_values[FKF_PREV_FORCED_N],
- kf->expr_const_values[FKF_T],
- kf->expr_const_values[FKF_PREV_FORCED_T],
- res);
+ av_log(logctx, AV_LOG_TRACE,
+ "force_key_frame: n:%f n_forced:%f prev_forced_n:%f t:%f prev_forced_t:%f -> res:%f\n",
+ kf->expr_const_values[FKF_N],
+ kf->expr_const_values[FKF_N_FORCED],
+ kf->expr_const_values[FKF_PREV_FORCED_N],
+ kf->expr_const_values[FKF_T],
+ kf->expr_const_values[FKF_PREV_FORCED_T],
+ res);
kf->expr_const_values[FKF_N] += 1;
More information about the ffmpeg-cvslog
mailing list