mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avfilter/vsrc_mptestsrc: set video frame duration
This commit is contained in:
parent
218278b11d
commit
96d4f74548
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue