History

avfilter/vf_scdet: fix introduced discrepancy with latest change

Paul B Mahol committed 3 years ago

Commit 20b96491 parent 69c060b1 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_scdet.c+1−1
@@ -170,7 +170,7 @@ static int activate(AVFilterContext *ctx) · 169 unmodified lines
170170 av_ts2timestr(frame->pts, &inlink->time_base));
171171 }
172172 if (s->sc_pass) {
173− if (s->scene_score > s->threshold)
173+ if (s->scene_score >= s->threshold)
174174 return ff_filter_frame(outlink, frame);
175175 else {
176176 av_frame_free(&frame);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t