1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-20 07:48:15 +02:00
FFmpeg/libavformat
Marton Balint 1b126ec408 avformat/concatdec: always re-calculate start time and duration
This allows the underlying files to change their duration on subsequent
avformat context opens.

An example use case where this matters:

ffconcat version 1.0
file dummy.mxf
file dummy.mxf

ffmpeg -re -stream_loop -1 -i dummy.ffconcat -f sdl2 none

The user can seamlessly change the input by atomically replacing dummy.mxf.

v2: Set ConcatFile duration in read_header for all segments with known
durations because from now on we always recalculate the start time in
open_file, and an instant seek could have caused unset ConcatFile durations.

Signed-off-by: Marton Balint <cus@passwd.hu>
2019-01-22 20:14:11 +01:00
..
2019-01-02 16:21:46 +01:00
2019-01-15 10:57:29 +01:00
2019-01-02 16:28:46 +01:00
2019-01-02 16:14:19 +01:00
2018-12-13 18:58:48 +01:00
2019-01-16 10:26:53 +01:00
2018-12-10 11:20:41 +01:00
2019-01-15 10:57:29 +01:00
2018-08-14 22:06:30 +05:30
2018-12-14 21:53:41 +01:00
2018-09-11 21:48:49 +01:00
2018-12-31 15:41:23 +01:00
2018-10-13 15:40:08 +02:00
2019-01-15 10:57:29 +01:00
2018-11-26 23:47:29 +01:00
2019-01-02 16:25:26 +01:00