diff options
author | Martin Storsjö <martin@martin.st> | 2015-11-03 22:16:21 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-11-11 22:53:31 +0200 |
commit | bef3b1f59f036aba4a5fe599b2480f6bd9e6b280 (patch) | |
tree | 9bddf06ae485a5d8bd2398cd07100db5c29adb85 /tests/fate-run.sh | |
parent | 3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b (diff) | |
download | ffmpeg-bef3b1f59f036aba4a5fe599b2480f6bd9e6b280.tar.gz |
movenc: Allow setting start_dts/start_cts before writing actual packets
By writing a zero-sized packet, the caller can communicate the
start_dts/start_cts for the stream without actually writing
the first packet.
This allows doing random-access writing of fragments when the
start dts of the stream isn't zero, so that the edit list in the moov
is written based on timestamps from the nominal start time signaled
via the zero-sized packet, while the first proper packet written
corresponds to a later fragment.
To avoid potential unexpected behaviour, empty packets only set
start_dts if the frag_discont flag is set.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/fate-run.sh')
0 files changed, 0 insertions, 0 deletions