From 7751f261deb36ff96978b44c545b279e2587e5ca Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 11 Aug 2025 15:54:55 +0200 Subject: [PATCH] avfilter/vf_scdet: use AVFilterContext for logging --- libavfilter/vf_scdet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c index 8aa2f0a73b..6b1de13610 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -164,7 +164,7 @@ static int activate(AVFilterContext *ctx) set_meta(s, frame, "lavfi.scd.score", buf); if (s->scene_score >= s->threshold) { - av_log(s, AV_LOG_INFO, "lavfi.scd.score: %.3f, lavfi.scd.time: %s\n", + av_log(ctx, AV_LOG_INFO, "lavfi.scd.score: %.3f, lavfi.scd.time: %s\n", s->scene_score, av_ts2timestr(frame->pts, &inlink->time_base)); set_meta(s, frame, "lavfi.scd.time", av_ts2timestr(frame->pts, &inlink->time_base));