Files
ffmpeg-rockchip/libavformat
John Stebbins 5d3953a5dc matroskaenc: factor ts_offset into block timecode computation
ts_offset was added to cluster timecode, but then effectively subtracted
back off the block timecode

When setting initial_padding for an audio stream, the timestamps are
written incorrectly to the mkv file.  cluster timecode gets written
as pts0 + ts_offset which is correct, but then block timecode gets
written as pts - cluster timecode which expanded is
pts - (pts0 + ts_offset).  Adding cluster and block tc back together:
cluster + block = (pts0 + ts_offset) + (pts - (pts0 + ts_offset)) = pts
But the result should be pts + ts_offset since demux will subtract the
CodecDelay element from pts and set initial_padding to CodecDelay.
This patch gives the correct result.
2017-02-21 14:20:31 -07:00
..
2017-02-11 11:37:45 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2015-11-12 04:39:14 +01:00
2016-05-17 12:24:32 -04:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2015-09-13 17:34:45 +02:00
2016-09-30 16:54:33 +02:00
2016-05-04 18:16:21 +02:00
2017-02-11 11:37:44 +01:00
2016-05-04 18:16:21 +02:00
2016-09-30 16:54:33 +02:00
2016-05-04 18:16:21 +02:00
2016-11-17 19:19:55 +01:00
2017-01-31 00:45:27 +02:00
2017-02-19 21:03:09 -07:00
2016-05-04 18:16:21 +02:00
2016-07-31 08:19:45 +02:00
2016-05-04 18:16:21 +02:00
2015-06-12 17:02:49 +01:00
2016-05-17 12:24:32 -04:00
2017-02-11 11:37:45 +01:00
2014-03-10 18:02:36 +01:00
2016-12-23 21:28:05 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-06-20 15:45:51 -04:00
2017-02-10 16:26:16 -05:00
2016-09-30 16:54:33 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-09-30 16:54:33 +02:00
2016-09-30 16:54:33 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2015-07-04 00:51:03 +02:00
2016-05-04 18:16:21 +02:00
2014-08-17 16:11:02 +02:00
2015-05-31 10:10:16 +03:00
2015-06-15 13:39:07 +02:00
2014-12-18 23:27:07 +01:00
2016-12-03 09:15:01 +01:00
2016-05-04 18:16:21 +02:00
2016-09-30 16:54:33 +02:00
2017-02-11 11:37:45 +01:00
2016-05-04 18:16:21 +02:00
2016-11-25 18:46:53 +01:00
2016-11-25 18:46:53 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-11 10:35:26 +03:00
2016-02-22 11:30:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2017-02-11 11:37:45 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-03 15:45:10 +02:00
2017-02-11 11:37:45 +01:00
2016-11-25 18:46:53 +01:00
2016-09-30 16:54:33 +02:00
2016-02-22 11:30:58 +01:00
2016-05-04 18:16:21 +02:00
2016-11-23 10:36:13 -05:00
2016-08-17 12:16:42 +02:00