diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2017-08-28 22:45:20 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-08-31 15:33:52 +0100 |
commit | 1a0d9b503d2e9c4278d6e93d40873dff9d191a25 (patch) | |
tree | 6761751ecc86a810e447b6e7dccd5f21597a6b1b /libavresample/audio_mix_matrix.c | |
parent | 1291a6d0ff9afb61100f5da46c65360418a4a8ef (diff) | |
download | ffmpeg-1a0d9b503d2e9c4278d6e93d40873dff9d191a25.tar.gz |
avformat/concatdec: add fallback for calculating file duration
If a file does not have a known duration, this leads to the timestamps
starting over for the next file, causing non-monotonic timestamps.
To prevent this, track the duration during demuxing and use it to
determine the current file duration before opening the next file.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavresample/audio_mix_matrix.c')
0 files changed, 0 insertions, 0 deletions