Commit 96d4f745 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vsrc_mptestsrc: set video frame duration

parent 218278b1
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment