[vlc-commits] stream_filter/httplive.c: improve comment somewhat.

Jean-Paul Saman git at videolan.org
Sat Dec 31 10:45:51 CET 2011


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Sat Dec 31 10:43:07 2011 +0100| [632b205878d4bd0e92eb225ef9273b3bb20fc0a6] | committer: Jean-Paul Saman

stream_filter/httplive.c: improve comment somewhat.

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

 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 */



More information about the vlc-commits mailing list