Commit 218278b1 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vsrc_testsrc: set video frame duration

parent aa247198
......@@ -183,6 +183,7 @@ static int activate(AVFilterContext *ctx)
if (!frame)
return AVERROR(ENOMEM);
frame->pts = test->pts;
frame->duration = 1;
frame->key_frame = 1;
frame->interlaced_frame = 0;
frame->pict_type = AV_PICTURE_TYPE_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