diff options
author | Nicolas Martyanoff <khaelin@gmail.com> | 2014-07-07 13:26:12 +0200 |
---|---|---|
committer | Anssi Hannula <anssi.hannula@iki.fi> | 2014-07-10 01:31:04 +0300 |
commit | 6cc1fec41263add956b35af96d7c4a81c9436a65 (patch) | |
tree | b7164042473fff28203d99c00be7b24402dc8065 /libavfilter | |
parent | 92c29914de3da5776adea361bd3add0c1969b883 (diff) | |
download | ffmpeg-6cc1fec41263add956b35af96d7c4a81c9436a65.tar.gz |
avformat/hlsenc: correctly compute target duration
With HLS, the duration of all segments must be lower or equal to the target
duration. Therefore floor(duration + 0.5) yields incorrect results.
For example, for duration = 1.35, floor(duration + 0.5) yields 1.0, but the
correct result is 2.0.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions