ffmpeg | branch: master | Paul B Mahol <[email protected]> | Tue Jan 17 18:01:02 2023 +0100| [07485a697552641609df73fd411de1ea964f1ef2] | committer: Paul B Mahol
avfilter/vf_scdet: change threshold checking Also allow score to match threshold thus allowing ==0.0 scores. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=07485a697552641609df73fd411de1ea964f1ef2 --- 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 1576759c24..daddc2e665 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -163,7 +163,7 @@ static int activate(AVFilterContext *ctx) snprintf(buf, sizeof(buf), "%0.3f", s->scene_score); set_meta(s, frame, "lavfi.scd.score", buf); - if (s->scene_score > s->threshold) { + if (s->scene_score >= s->threshold) { av_log(s, AV_LOG_INFO, "lavfi.scd.score: %.3f, lavfi.scd.time: %s\n", s->scene_score, av_ts2timestr(frame->pts, &inlink->time_base)); set_meta(s, frame, "lavfi.scd.time", _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
