diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-17 15:36:58 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-17 17:46:57 +0100 |
commit | 218278b11dbb9c16bea95f3c8333fc242677a402 (patch) | |
tree | 4fe64a33d3ff7d25632571a353d9e2da2dc0b656 | |
parent | aa247198439394144d1d8ef33534857389c10e60 (diff) | |
download | ffmpeg-218278b11dbb9c16bea95f3c8333fc242677a402.tar.gz |
avfilter/vsrc_testsrc: set video frame duration
-rw-r--r-- | libavfilter/vsrc_testsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index e7d8d9ea1a..9760e5fc80 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -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; |