avfilter/vsrc_mptestsrc: set video frame duration

This commit is contained in:
Paul B Mahol 2023-01-17 15:39:05 +01:00
parent 218278b11d
commit 96d4f74548
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ static int request_frame(AVFilterLink *outlink)
if (!picref)
return AVERROR(ENOMEM);
picref->pts = test->pts++;
picref->duration = 1;
// clean image
for (i = 0; i < h; i++)