avfilter/vf_scdet: fix introduced discrepancy with latest change

This commit is contained in:
Paul B Mahol 2023-01-24 22:00:43 +01:00
parent 69c060bea2
commit 20b96494de
1 changed files with 1 additions and 1 deletions

View File

@ -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);