[FFmpeg-cvslog] avfilter/vf_scdet: fix introduced discrepancy with latest change
Paul B Mahol
git at videolan.org
Tue Jan 24 23:02:13 EET 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 24 22:00:43 2023 +0100| [20b96494de5a76fd932d4231d4afde2e5c2c6e59] | committer: Paul B Mahol
avfilter/vf_scdet: fix introduced discrepancy with latest change
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20b96494de5a76fd932d4231d4afde2e5c2c6e59
---
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);
More information about the ffmpeg-cvslog
mailing list