diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-11 13:34:41 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-04 11:55:03 +0200 |
commit | 502892d70615f473c5684a9f6942f3dddb994069 (patch) | |
tree | 3d03bf8fc8443ffe9e6c0f5e7c2a5e14c2f8aa55 | |
parent | 044d70736ec106da3878123b9b61749769723dd9 (diff) | |
download | ffmpeg-502892d70615f473c5684a9f6942f3dddb994069.tar.gz |
lavfi/vf_fps: set frame duration
-rw-r--r-- | libavfilter/vf_fps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 0e5a1fec35..051d278f54 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -291,6 +291,7 @@ static int write_frame(AVFilterContext *ctx, FPSContext *s, AVFilterLink *outlin // Make sure Closed Captions will not be duplicated av_frame_remove_side_data(s->frames[0], AV_FRAME_DATA_A53_CC); frame->pts = s->next_pts++; + frame->duration = 1; av_log(ctx, AV_LOG_DEBUG, "Writing frame with pts %"PRId64" to pts %"PRId64"\n", s->frames[0]->pts, frame->pts); |