Re: [FFmpeg-devel] [PATCH 2/2] hlsenc: set target duration always exact or longer than max segment duration

2018-03-24 Thread Jan Ekström
On Sat, Mar 24, 2018 at 7:35 AM, Steven Liu wrote: > This is not correct, at the specification author said, the duration > should set to 5, not 6, reference link > :https://trac.ffmpeg.org/ticket/6915 > > Thanks > > Steven Right, somehow I missed that "when rounded to

Re: [FFmpeg-devel] [PATCH 2/2] hlsenc: set target duration always exact or longer than max segment duration

2018-03-23 Thread Steven Liu
2018-03-24 6:42 GMT+08:00 Jan Ekström : > From: Jan Ekström > > Follows the RFC with floating point durations. > F.ex., 5.005 => 6 > > Signed-off-by: Jan Ekström > --- > libavformat/hlsenc.c | 3 ++- > 1 file changed, 2

[FFmpeg-devel] [PATCH 2/2] hlsenc: set target duration always exact or longer than max segment duration

2018-03-23 Thread Jan Ekström
From: Jan Ekström Follows the RFC with floating point durations. F.ex., 5.005 => 6 Signed-off-by: Jan Ekström --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c