mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 22:40:23 +00: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) {
|
if (s->delta == AV_NOPTS_VALUE) {
|
||||||
s->delta = delta;
|
s->delta = delta;
|
||||||
|
s->min_delta = delta;
|
||||||
|
s->max_delta = delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->delta != delta) {
|
if (s->delta != delta) {
|
||||||
|
Loading…
Reference in New Issue
Block a user