On date Friday 2014-07-18 10:57:41 +0200, Nicolas Martyanoff encoded:
> 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
On Fri, Jul 18, 2014 at 10:57:41AM +0200, Nicolas Martyanoff wrote:
> 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
>
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.
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 ins