diff options
author | Martin Storsjö <martin@martin.st> | 2015-03-06 15:45:50 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-03-19 10:26:52 +0200 |
commit | 2889c5e16711770437f380f1bead5f72c6a0b17a (patch) | |
tree | 59c9002884f3d39b419603a67a97fd321854644e /libavformat/gif.c | |
parent | 8dc72eeaf647736c287b59a3856a11904bedd58b (diff) | |
download | ffmpeg-2889c5e16711770437f380f1bead5f72c6a0b17a.tar.gz |
movenc: Heuristically set the duration of the last sample in a fragment if not set
Even if this is a guess, it is way better than writing a zero duration
of the last sample in a fragment (because if the duration is zero,
the first sample of the next fragment will have the same timestamp
as the last sample in the previous one).
Since we normally don't require libavformat muxer users to set
the duration field in AVPacket, we probably can't strictly require
it here either, so don't log this as a strict warning, only as info.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/gif.c')
0 files changed, 0 insertions, 0 deletions