Commit 4ce263a7 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_vfrdet: fix reporting max delta

If only first delta was big it was previously discarded.
parent 1c3b70e2
......@@ -44,6 +44,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
if (s->delta == AV_NOPTS_VALUE) {
s->delta = delta;
s->min_delta = delta;
s->max_delta = delta;
}
if (s->delta != delta) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment