diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-24 22:00:43 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-24 22:02:45 +0100 |
commit | 20b96494de5a76fd932d4231d4afde2e5c2c6e59 (patch) | |
tree | 6b755a5d9a8489d7e30751d0033d4b2026bb6a09 /libavfilter/vf_scdet.c | |
parent | 69c060bea21d3b4ce63b5fff40d37e98c70ab88f (diff) | |
download | ffmpeg-20b96494de5a76fd932d4231d4afde2e5c2c6e59.tar.gz |
avfilter/vf_scdet: fix introduced discrepancy with latest change
Diffstat (limited to 'libavfilter/vf_scdet.c')
-rw-r--r-- | libavfilter/vf_scdet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |