[ffmpeg] branch master updated. e5f82ab868 Revert "lavc/libsvtav1: set packet durations"
The branch, master has been updated via e5f82ab8686b3c6193a3f718f53dbef9436b4318 (commit) from 17d5759bd99ab304c497ec149d493bc6ba1c6b52 (commit) - Log ----------------------------------------------------------------- commit e5f82ab8686b3c6193a3f718f53dbef9436b4318 Author: rcombs <rcombs@rcombs.me> AuthorDate: Tue Sep 23 20:21:44 2025 -0700 Commit: rcombs <rcombs@rcombs.me> CommitDate: Tue Sep 23 20:22:33 2025 -0700 Revert "lavc/libsvtav1: set packet durations" This reverts commit 5c9b2027bc48ae5d39b0d82696895f0834788242. This doesn't actually work the way it'd appeared to in testing; the output was based on frame *encode latency*. diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c index 8ac5fd2d04..c6a0ff90bc 100644 --- a/libavcodec/libsvtav1.c +++ b/libavcodec/libsvtav1.c @@ -520,7 +520,6 @@ static int eb_send_frame(AVCodecContext *avctx, const AVFrame *frame) headerPtr->flags = 0; headerPtr->p_app_private = NULL; headerPtr->pts = frame->pts; - headerPtr->n_tick_count = frame->duration; switch (frame->pict_type) { case AV_PICTURE_TYPE_I: @@ -637,7 +636,6 @@ static int eb_receive_packet(AVCodecContext *avctx, AVPacket *pkt) pkt->size = headerPtr->n_filled_len; pkt->pts = headerPtr->pts; pkt->dts = headerPtr->dts; - pkt->duration = headerPtr->n_tick_count; switch (headerPtr->pic_type) { case EB_AV1_KEY_PICTURE: ----------------------------------------------------------------------- Summary of changes: libavcodec/libsvtav1.c | 2 -- 1 file changed, 2 deletions(-) hooks/post-receive --
participants (1)
-
ffmpeg-git@ffmpeg.org