diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-17 15:39:05 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-17 17:46:58 +0100 |
commit | 96d4f745482c6003981015fd05d820fab91973a2 (patch) | |
tree | 07eb4d6d88242964ed8ed7936bcac594ac31128c /libavfilter | |
parent | 218278b11dbb9c16bea95f3c8333fc242677a402 (diff) | |
download | ffmpeg-96d4f745482c6003981015fd05d820fab91973a2.tar.gz |
avfilter/vsrc_mptestsrc: set video frame duration
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vsrc_mptestsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c index 03073dcf5a..55b723af00 100644 --- a/libavfilter/vsrc_mptestsrc.c +++ b/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++) |