diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-17 14:34:47 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-17 14:50:08 +0100 |
commit | 6b8adbfe030d318123874456157270e985fd3078 (patch) | |
tree | 9f4b07f0178b04c3563a96cf2bac3b18d5a93b00 /libavfilter/avf_a3dscope.c | |
parent | 2cee62295fec51b3452148dc3806e9a59d777e86 (diff) | |
download | ffmpeg-6b8adbfe030d318123874456157270e985fd3078.tar.gz |
avfilter/avf_a3dscope,avf_showcwt: set video frame duration
Diffstat (limited to 'libavfilter/avf_a3dscope.c')
-rw-r--r-- | libavfilter/avf_a3dscope.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_a3dscope.c b/libavfilter/avf_a3dscope.c index 089c8d8c01..d7fe2dcb75 100644 --- a/libavfilter/avf_a3dscope.c +++ b/libavfilter/avf_a3dscope.c @@ -243,6 +243,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) for (int y = 0; y < outlink->h; y++) memset(out->data[0] + y * out->linesize[0], 0, outlink->w * 4); out->pts = av_rescale_q(in->pts, inlink->time_base, outlink->time_base); + out->duration = 1; projection_matrix(s->fov, half_width / half_height, 0.1f, 1000000.f, s->projection_matrix); view_matrix(s->eye, s->zoom, s->roll, s->pitch, s->yaw, s->view_matrix); |