avfilter/vf_scdet: fix introduced discrepancy with latest change

release/6.0
Paul B Mahol 2 years ago
parent 69c060bea2
commit 20b96494de
  1. 2
      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);

Loading…
Cancel
Save