avfilter/vsrc_mptestsrc: set video frame duration

pull/388/head
Paul B Mahol 2 years ago
parent 218278b11d
commit 96d4f74548
  1. 1
      libavfilter/vsrc_mptestsrc.c

@ -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++)

Loading…
Cancel
Save