mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
lavfi/src_avsynctest: set video frame durations
This filter produces CFR video output.
This commit is contained in:
parent
cdc4d99089
commit
9e8a327e68
@ -348,6 +348,7 @@ static int video_frame(AVFilterLink *outlink)
|
|||||||
}
|
}
|
||||||
|
|
||||||
out->pts = s->vpts++;
|
out->pts = s->vpts++;
|
||||||
|
out->duration = 1;
|
||||||
|
|
||||||
return ff_filter_frame(outlink, out);
|
return ff_filter_frame(outlink, out);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user