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

Git pushed a commit to branch master
in repository ffmpeg.

commit 661dd0ffd5c90ff5c72edd83f65cee02e62a19a2
Author:     James Almer <[email protected]>
AuthorDate: Mon Jun 22 02:01:59 2026 +0000
Commit:     James Almer <[email protected]>
CommitDate: Tue Jun 23 20:07:25 2026 -0300

    avformat/movenc: use track timescale when making up a tmcd track pts
    
    Signed-off-by: James Almer <[email protected]>
---
 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5accd27282..7b08f58977 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7847,7 +7847,7 @@ static int mov_create_timecode_track(AVFormatContext *s, 
int index, int src_inde
     pkt->data = data;
     pkt->stream_index = index;
     pkt->flags = AV_PKT_FLAG_KEY;
-    pkt->pts = pkt->dts = av_rescale_q(tc.start, av_inv_q(rate), 
(AVRational){1,mov->movie_timescale});
+    pkt->pts = pkt->dts = av_rescale_q(tc.start, av_inv_q(rate), (AVRational){ 
1, track->timescale });
     pkt->size = 4;
     AV_WB32(pkt->data, tc.start);
     ret = ff_mov_write_packet(s, pkt);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to