aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v1.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-11-03 22:16:21 +0200
committerMartin Storsjö <martin@martin.st>2015-11-11 22:53:31 +0200
commitbef3b1f59f036aba4a5fe599b2480f6bd9e6b280 (patch)
tree9bddf06ae485a5d8bd2398cd07100db5c29adb85 /libavformat/id3v1.c
parent3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b (diff)
downloadffmpeg-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 'libavformat/id3v1.c')
0 files changed, 0 insertions, 0 deletions