diff options
author | Justin Ruggles <[email protected]> | 2017-08-28 22:45:20 -0400 |
---|---|---|
committer | Derek Buitenhuis <[email protected]> | 2017-08-31 15:33:52 +0100 |
commit | 1a0d9b503d2e9c4278d6e93d40873dff9d191a25 (patch) | |
tree | 6761751ecc86a810e447b6e7dccd5f21597a6b1b /doc/examples/resampling_audio.c | |
parent | 1291a6d0ff9afb61100f5da46c65360418a4a8ef (diff) |
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 <[email protected]>
Diffstat (limited to 'doc/examples/resampling_audio.c')
0 files changed, 0 insertions, 0 deletions