mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_vfrdet: fix reporting max delta
If only first delta was big it was previously discarded.
This commit is contained in:
parent
1c3b70e2e0
commit
4ce263a7fd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user