[FFmpeg-devel] [PATCH] hlsenc: added floating point time support.

Michael Niedermayer michaelni at gmx.at
Thu Apr 3 00:39:14 CEST 2014


On Thu, Apr 03, 2014 at 12:57:44AM +0530, Senthil wrote:
> On Wed, Apr 2, 2014 at 10:56 AM, Reimar Döffinger
> <Reimar.Doeffinger at gmx.de>wrote:
> 
> > On 02.04.2014, at 05:29, Senthil <senthil.codr at gmail.com> wrote:
> > > Necessary for HLS version 3 and above.  Fixes ticket #3505.
> >
> Either way, both float itself and %f have very limited precision.
> > I'd suggest going with double and explicitly specifying a higher precision
> > in the format string.
> > Possibly even going with %e if the spec allows for it and there are no
> > compatibility issues.
> >
> Here is the relevant portion in the spec:
> http://tools.ietf.org/html/draft-pantos-http-live-streaming-12#section-3.3.2
> 
> Though it does not mention about double precision, I have produced a double
> version of the patch below.
> 
> Necessary for HLS version 3 and above.  Fixes ticket #3505.
> 
> Signed-off-by: Senthilnathan M <senthil.codr at gmail.com>

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140403/ea3331f3/attachment.asc>


More information about the ffmpeg-devel mailing list