mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
fix time stored in mov
based upon 23_fix_timestamp_in_mov.patch by (Calcium | calcium nurs or jp) Originally committed as revision 4067 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1426,7 +1426,7 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
if (mov->mdat_written == 0) {
|
||||
mov_write_mdat_tag(pb, mov);
|
||||
mov->mdat_written = 1;
|
||||
mov->time = s->timestamp;
|
||||
mov->time = s->timestamp + 0x7C25B080; //1970 based -> 1904 based
|
||||
}
|
||||
|
||||
trk->cluster[cl][id].pos = url_ftell(pb);
|
||||
|
||||
Reference in New Issue
Block a user