History

avfilter/vf_vfrdet: fix reporting max delta

If only first delta was big it was previously discarded.

Paul B Mahol committed 7 years ago

Commit 4ce263a1 parent 1c3b70e1 file · +2 −0Browse files

Unified · Split

libavfilter/vf_vfrdet.c+2−0
@@ -44,6 +44,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 43 unmodified lines
4444
4545 if (s->delta == AV_NOPTS_VALUE) {
4646 s->delta = delta;
47+ s->min_delta = delta;
48+ s->max_delta = delta;
4749 }
4850
4951 if (s->delta != delta) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t