This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 0496602083a8dee7ef6e06eb43d0355a5384156c
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sat Oct 24 07:34:31 2026 +0200
Commit:     James Almer <[email protected]>
CommitDate: Sun Oct 25 02:48:47 2026 +0000

    avcodec/apv_decode: set AVFrame.pkt_dts
    
    Copy the dts of the decoded packet to the frame. decode.c does this only
    for decoders with the decode callback, so it got lost when 084b67f6e3
    moved the decoder to the receive_frame API, and frames decoded from
    packets that carry only a dts have had no timestamp since.
    
    Fixes: 084b67f6e3
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavcodec/apv_decode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c
index cde6593602..a6ca9ba8fb 100644
--- a/libavcodec/apv_decode.c
+++ b/libavcodec/apv_decode.c
@@ -513,6 +513,7 @@ static int apv_receive_frame_internal(AVCodecContext 
*avctx, AVFrame *frame)
         switch (pbu->type) {
         case APV_PBU_PRIMARY_FRAME:
             err = apv_decode(avctx, frame, pbu->content);
+            frame->pkt_dts = apv->pkt->dts;
             i++;
             goto end;
         case APV_PBU_METADATA:

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to