vlc/vlc-1.2 | branch: master | Jean-Paul Saman <jean-paul.sa...@m2x.nl> | Sat 
Dec 31 10:43:07 2011 +0100| [f023ff2a78270560110a27742793e948f8b3bb7d] | 
committer: Jean-Baptiste Kempf

stream_filter/httplive.c: improve comment somewhat.
(cherry picked from commit 632b205878d4bd0e92eb225ef9273b3bb20fc0a6)

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=f023ff2a78270560110a27742793e948f8b3bb7d
---

 modules/stream_filter/httplive.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 4d60d8a..fb7ca70 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -78,7 +78,8 @@ typedef struct hls_stream_s
     int         sequence;   /* media sequence number */
     int         duration;   /* maximum duration per segment (s) */
     uint64_t    bandwidth;  /* bandwidth usage of segments (bits per second)*/
-    uint64_t    size;       /* stream length (segment->duration * 
hls->bandwidth/8) */
+    uint64_t    size;       /* stream length is calculated by taking the sum
+                               foreach segment of (segment->duration * 
hls->bandwidth/8) */
 
     vlc_array_t *segments;  /* list of segments */
     vlc_url_t   url;        /* uri to m3u8 */

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to