This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit bf7b04016579b789291027ddb035ac0c56488dfd Author: Kacper Michajłow <[email protected]> AuthorDate: Sat Oct 24 07:34:30 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 19:19:05 2026 +0100 avcodec/jpeg2000dec: 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 6287ad1f9b moved the decoder to the receive_frame API, and frames decoded from packets that carry only a dts have had no timestamp since. Fixes: 6287ad1f9b Signed-off-by: Kacper Michajłow <[email protected]> (cherry picked from commit cb36a29615d6e18831123199fd322ccfc6951078) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/jpeg2000dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 9282f7610e..7acb11710b 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -2948,6 +2948,7 @@ static int jpeg2000_receive_frame(AVCodecContext *avctx, AVFrame *frame) return ret; ret = jpeg2000_decode_frame(avctx, frame, avpkt); + frame->pkt_dts = avpkt->dts; av_packet_unref(avpkt); if (ret < 0) return ret; -- 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]
