applehttp: Use the last segment duration as reload interval
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>
Mon, 26 Dec 2011 19:25:52 +0000 (21:25 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 29 Dec 2011 09:42:21 +0000 (11:42 +0200)
commit356ae5f65bd351923e6eda6f35a12bb5f362c6ab
tree38f3c7494983108ab3d16fbb63a543f8974df9e7
parent7af507ea9949ff3189d6d8b20ff01253c944de34
applehttp: Use the last segment duration as reload interval

According to draft-pantos-http-live-streaming-07, 6.3.4,
the duration of the last media segment in the playlist
should be used as initial minimum reload delay.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/applehttp.c