diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2018-04-23 16:46:55 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2018-04-26 14:42:15 +0100 |
commit | 28503c5aea5f5ecaab95e9d0c56064132e4796d3 (patch) | |
tree | abe3dcc3ab7e68fcf046aa3aec60bfd5c4cef4ba /tests/audiogen.c | |
parent | 3914a76db687b4a94878d643da21bf0a217b6472 (diff) | |
download | ffmpeg-28503c5aea5f5ecaab95e9d0c56064132e4796d3.tar.gz |
mov: Properly abide by the track's media duration
The track's media duration from the mdhd atom takes precedence
over both the stts and elst atom for calculating and setting
the track's total duraion.
Technically, we shouldn't be using the stts atom at all for
calculating stream durations.
This fixes incorrect stream and final packet durations on files
with edit lists that are longer than the media duration.
The FATE changes are expected, and output is more correct (the
AAC frame is not 1028 samples).
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'tests/audiogen.c')
0 files changed, 0 insertions, 0 deletions