summaryrefslogtreecommitdiffstats
path: root/doc/examples/metadata.c
diff options
context:
space:
mode:
authorJustin Ruggles <[email protected]>2017-08-28 22:45:20 -0400
committerDerek Buitenhuis <[email protected]>2017-08-31 15:33:52 +0100
commit1a0d9b503d2e9c4278d6e93d40873dff9d191a25 (patch)
tree6761751ecc86a810e447b6e7dccd5f21597a6b1b /doc/examples/metadata.c
parent1291a6d0ff9afb61100f5da46c65360418a4a8ef (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/metadata.c')
0 files changed, 0 insertions, 0 deletions