From 20b96494de5a76fd932d4231d4afde2e5c2c6e59 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 24 Jan 2023 22:00:43 +0100 Subject: [PATCH] avfilter/vf_scdet: fix introduced discrepancy with latest change --- 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 daddc2e665..8dcce5ada6 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -170,7 +170,7 @@ static int activate(AVFilterContext *ctx) av_ts2timestr(frame->pts, &inlink->time_base)); } if (s->sc_pass) { - if (s->scene_score > s->threshold) + if (s->scene_score >= s->threshold) return ff_filter_frame(outlink, frame); else { av_frame_free(&frame);