ffmpeg | branch: master | Paul B Mahol <one...@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);

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to