aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/thread.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-03-09 11:47:54 +0200
committerMartin Storsjö <martin@martin.st>2015-03-19 10:27:07 +0200
commitb81b0cc22b22413760423e239ea644c9afdbfa2d (patch)
treecb952185939cb654545aaafdaeffa9da265b0b7d /libavutil/thread.h
parent3041183677bda0a431b36e96a2c76617abaa8183 (diff)
downloadffmpeg-b81b0cc22b22413760423e239ea644c9afdbfa2d.tar.gz
movenc: Set the last packet duration based on the next packet when autoflushing
When automatically flushing fragments based on set conditions (fragmentation on keyframes, after some interval or byte size), we already have the next packet for one stream - use this for setting the duration of the last packet in the flushed fragment correctly. This avoids having to adjust the timestamp of the first packet in the new fragment since the last duration was unknown. Unfortunately, this only works for automatic flushing (not for caller-triggered flushing, like in the dash muxer), and only for the one single track that triggered the flushing. The duration of the last sample in all other tracks still is dependent on AVPacket duration (or heuristics). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/thread.h')
0 files changed, 0 insertions, 0 deletions