The branch, master has been updated
via 5c9b2027bc48ae5d39b0d82696895f0834788242 (commit)
from ae03b629db116a8a5b6b40ede912fbb8b1ca0175 (commit)
- Log -----------------------------------------------------------------
commit 5c9b2027bc48ae5d39b0d82696895f0834788242
Author: rcombs <[email protected]>
AuthorDate: Tue Sep 23 00:45:58 2025 -0700
Commit: James Almer <[email protected]>
CommitDate: Tue Sep 23 14:32:47 2025 +0000
lavc/libsvtav1: set packet durations
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index c6a0ff90bc..8ac5fd2d04 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -520,6 +520,7 @@ 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:
@@ -636,6 +637,7 @@ 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 insertions(+)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]