]> git.sesse.net Git - vlc/commit
stream_filter/httplive.c: HLS stream size calculation
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Fri, 17 Dec 2010 09:55:50 +0000 (10:55 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 22 Dec 2010 08:38:27 +0000 (09:38 +0100)
commit6991abef61bf44283d5312caebbc57c0b9a7eb1d
tree8ff273efae7e737e31086f9e6318c80e5176ce94
parentd1e065b72d63033f1ba0a656edb3e2f2cdff1ba3
stream_filter/httplive.c: HLS stream size calculation

The function hls_GetStreamSize() calculates the HLS stream size in bytes, based
upon information found in the .m3u8 file. The sum of each segment duration
(in seconds) times bandwith in bytes (hls->bandwidth/8).
modules/stream_filter/httplive.c