mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avfilter/vsrc_testsrc: set video frame duration
This commit is contained in:
parent
aa24719843
commit
218278b11d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue