mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vsrc_mptestsrc: set video frame duration
This commit is contained in:
parent
218278b11d
commit
96d4f74548
|
@ -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…
Reference in New Issue