mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
avfilter/vf_scdet: use AVFilterContext for logging
This commit is contained in:
committed by
Niklas Haas
co-authored by
Niklas Haas
parent
dee56511b0
commit
7751f261de
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user