forked from FFmpeg/FFmpeg
avfilter/vf_scdet: fix introduced discrepancy with latest change
This commit is contained in:
parent
69c060bea2
commit
20b96494de
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ static int activate(AVFilterContext *ctx)
|
||||||
av_ts2timestr(frame->pts, &inlink->time_base));
|
av_ts2timestr(frame->pts, &inlink->time_base));
|
||||||
}
|
}
|
||||||
if (s->sc_pass) {
|
if (s->sc_pass) {
|
||||||
if (s->scene_score > s->threshold)
|
if (s->scene_score >= s->threshold)
|
||||||
return ff_filter_frame(outlink, frame);
|
return ff_filter_frame(outlink, frame);
|
||||||
else {
|
else {
|
||||||
av_frame_free(&frame);
|
av_frame_free(&frame);
|
||||||
|
|
Loading…
Add table
Reference in a new issue